Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

c º¯ÊýÖ¸Õë

c º¯ÊýÖ¸Õë 
ÒÔǰʲôº¯ÊýÖ¸Õë,Ö¸Õ뺯Êý½ö½öÊǸÅÄîÉϵÄÀí½â,×î½üд¸ö³ÌÐòÓÐÕâô¸öÐèÇó,ÆäʵҲ²»ÊÇÓÐÕâô¸öÐèÇó,¶øÊÇÕâÑùд¿ÉÒÔÊ¡È¥ºÜ¶àÊÂ....searchÁËÏÂ,ÕÒµ½Ò»ÆªºÃÎÄ
º¯ÊýÖ¸ÕëÊÇʲô£¿
    ÏÈÀ´¿´º¯Êýµ÷ÓÃÊÇÔõô»ØÊ¡£Ò»¸öº¯ÊýÕ¼ÓÃÒ»¶ÎÁ¬ÐøÄÚ´æ¡£µ±µ÷ÓÃÒ»¸öº¯Êýʱ£¬Êµ¼ÊÉÏÊÇÌøתµ½º¯ÊýÈë¿ÚµØÖ·£¬Ö´Ðк¯ÊýÌåµÄ´úÂ룬Íê³Éºó·µ»Ø¡£ÈçºÎÕÒµ½¶ÔÓ¦µÄÈë¿ÚµØÖ·£¿ÕâÊÇÓɺ¯ÊýÃûÀ´±ê¼ÇµÄ£¬Êµ¼ÊÉÏ£¬º¯ÊýÃû¾ÍÊǺ¯ÊýµÄÈë¿ÚµØÖ·¡£
    º¯ÊýÖ¸ÕëÊÇÒ»ÖÖÌØÊâÀàÐ͵ÄÖ¸Õ룬ËüÖ¸ÏòÒ»¸öº¯ÊýµÄÈë¿ÚµØÖ·¡£
    ×¢Ò⣺³ýÁËvoidÀàÐÍÖ¸ÕëÊÇÎÞÀàÐ͵ÄÖ¸ÕëÍ⣬ÆäËûËùÓÐÖ¸Õ붼ÊÇÓжÔÓ¦ÀàÐ͵ģ¬ÀýÈçint *pint¡¢struct studentdata *psdataµÈ£¬Ö»ÓÐÖ¸Ã÷ÁËÖ¸ÕëËùÖ¸µÄÊý¾ÝÀàÐÍ£¬±àÒëÆ÷²ÅÄÜΪָÕë·ÖÅä»òÔ¤¼Æ·ÖÅäÏàÓ¦´óСµÄ´æ´¢¿Õ¼ä£¬Ö¸ÕëµÄËãÊõÔËËãÈçpint++µÈ²ÅÊÇÓÐÒâÒåµÄ¡£Òò´Ë£¬¶¨ÒåÁËijÖÖÀàÐ͵ÄÖ¸ÕëÖ®ºó£¬³ý·ÇʹÓÃÇ¿ÖÆÀàÐÍת»»£¬ÄÇôËüÖ»ÄÜÖ¸ÏòÏàÓ¦Êý¾ÝÀàÐ͵ıäÁ¿»ò³£Á¿£¬²»Í¬ÀàÐ͵ÄÖ¸Õë»òÊý¾ÝÖ®¼ä²»¿É»ìÓá£ËùÒÔÖ¸ÕëµÄÀàÐÍʵ¼ÊÉÏÊÇÒ»ÖÖÉí·Ý±êÖ¾µÄ×÷Óá£
   º¯ÊýÖ¸ÕëÈçºÎ±íÃ÷×Ô¼ºµÄÉí·ÝÄØ£¿ÎªÁ˱ÜÃâ»ìÂÒ£¬±ØÐëÒ²Òª×÷³öÏàÓ¦¹æ¶¨£¬²»Í¬º¯ÊýµÄº¯ÊýÖ¸Õë²»ÄÜ»ìÓá£ÀýÈ磬int func1(int arg11, char arg12)Óëint func2(char arg)µÄº¯ÊýÖ¸Õë¾Í²»ÄÜ»ìÓã¬Òª¶¨Òå¿ÉÒÔÖ¸Ïòfunc1µÄº¯ÊýÖ¸ÕëÓ¦¸ÃÕâÑù£º
    int (*pfunc1)(int, char) = func1£»
¶¨Òå¿ÉÒÔÖ¸Ïòfunc2µÄº¯ÊýÖ¸ÕëÔò¸ÃÈçÏ£º
    int (*pfunc2)(char) = func2;
    ´Óº¯ÊýÖ¸ÕëµÄ¶¨Òå¿ÉÒÔ¿´³ö£¬º¯ÊýÖ¸ÕëµÄÀàÐÍʵ¼ÊÉÏÊÇÓɺ¯ÊýÇ©Ãû¾ö¶¨µÄ¡£º¯ÊýÇ©Ãû¾ÍÏóÊǺ¯ÊýµÄÉí·ÝÖ¤£¬Ò»¸öº¯ÊýµÄº¯ÊýÇ©ÃûÊǶÀÒ»ÎÞ¶þµÄ£¬¾ßÓÐÏàͬº¯ÊýÇ©ÃûµÄº¯Êýʵ¼ÊÉϾÍÊÇͬһº¯Êý¡£º¯ÊýÇ©Ãû°üÀ¨º¯ÊýÃû¡¢º¯ÊýÐβÎÀàÐ͵ÄÓÐÐòÁбíºÍº¯Êý·µ»ØÖµÀàÐÍ¡£
    Ò»¸öº¯ÊýÖ¸ÕëµÄ¶¨Òå¹æ¶¨ÁËËüÖ»ÄÜÖ¸ÏòÌض¨ÀàÐ͵ĺ¯Êý¡£Èç¹ûÁ½¸öº¯ÊýµÄÐβÎÁбíºÍ·µ»ØÖµÀàÐÍÏàͬ£¬Ö»Óк¯ÊýÃûºÍº¯ÊýÌ岻ͬ£¬Ôò¿ÉÒÔʹÓÃÏàͬÀàÐ͵ĺ¯ÊýÖ¸Õë¡£ÀýÈ磬Èç¹û»¹ÓÐÒ»¸öº¯Êýint func3(char arg)£¬ÔòÉÏÃ涨ÒåµÄ¿ÉÒÔÖ¸Ïòº¯Êýfunc2µÄº¯ÊýÖ¸ÕëÒ²¿ÉÒÔÓÃÓÚÖ¸Ïòfunc3£¬¼´£º
    pfunc2 = func3;
    ÔÙʹÓÃpfunc2(char ARG)¾Í¿ÉÒÔµ÷Óú¯Êýfunc3£¬ÕâʱָÁî¼ÆÊýÆ÷£¨PC£©Ö¸Ïòº¯ÊýÈë¿Ú£¬´Ó´Ë¿ªÊ¼Ö´Ðк¯ÊýÌå´úÂë¡£
    ×¢Ò⣺¶Ôº¯ÊýÖ¸Õë½øÐ


Ïà¹ØÎĵµ£º

ÓÃCдµÄ3DÃÔ¹¬

          Boss˵£¬Òª¿´OpenGL£¬¿´ÁË¿ìÒ»¸öÔ£¬×ÜËã³öÁ˸öÏñÑùµÄ¶«Î÷£¬ÓÃCдÁ˸ö3DÃÔ¹¬£¬
ËäȻֻÓÐ350ÐÐ
       ´úÂ룬²»¹ý±ßѧ±ßд£¬×ã×ãдÁËÒ»ÖÜʱ¼ä£¬»¹ÊÇСÓгɾ͸еģ¬»î»î»î£¡
         &n ......

ANSI C¶ÁÊé±Ê¼ÇϵÁÐÖ®×Ö·û¼¯Æª µÚËÄÕ ×Ö½ÚÐò

"endian"Õâ¸ö´Ê³ö×Ô<<¸ñÁзðÓμÇ>>,СÈ˹úµÄÄÚÕ½¾ÍÔ´ÓÚ³Ô¼¦µ°Ê±ÊǾ¿¾¹´Ó´óÍ·(Big-Endian)Çÿª»¹ÊÇ´ÓСͷ(Little-Endian)Çÿª.ÎÒÃÇÒ»°ã½«endian·­Òë³É"×Ö½ÚÐò",½«big endianºÍlittle endian³Æ×÷"´ó¶Ë"ºÍ"С¶Ë".
ÔÚ¼ÆËã»ú¿ÆѧÁìÓòÖÐ,×Ö½ÚÐòÊÇÖ¸´æ·Å¶à×Ö½ÚÊý¾ÝµÄ×Ö½ÚµÄ˳Ðò,µäÐ͵ÄÇé¿öÊÇÕûÊýÔÚÄÚ´æÖеĴæ·Å·½Ê½ºÍ ......

cº¯Êý: strtok ºÍ strtok_r

º¯ÊýÃû:   strtok    
  ¹¦     ÄÜ:   ²éÕÒÓÉÔÚµÚ¶þ¸ö´®ÖÐÖ¸¶¨µÄ·Ö½ç·û·Ö¸ô¿ªµÄµ¥´Ê    
  ÓÃ     ·¨:   char   *strtok(char   *str1,   char   *str2);    
  ³ÌÐòÀý:    
   
&nbs ......

C/C++Öлص÷º¯Êý³õ̽

¶ÔÓںܶà³õѧÕßÀ´Ëµ£¬ÍùÍù¾õµÃ»Øµ÷º¯ÊýºÜÉñÃØ£¬ºÜÏëÖªµÀ»Øµ÷º¯ÊýµÄ¹¤×÷Ô­Àí¡£±¾ÎĽ«Òª½âÊÍʲôÊǻص÷º¯Êý¡¢ËüÃÇÓÐʲôºÃ´¦¡¢ÎªÊ²Ã´ÒªÊ¹ÓÃËüÃǵȵÈÎÊÌ⣬ÔÚ¿ªÊ¼Ö®Ç°£¬¼ÙÉèÄãÒѾ­ÊìÖªÁ˺¯ÊýÖ¸Õë¡£
¡¡¡¡Ê²Ã´Êǻص÷º¯Êý£¿
¡¡¡¡¼ò¶øÑÔÖ®£¬»Øµ÷º¯Êý¾ÍÊÇÒ»¸öͨ¹ýº¯ÊýÖ¸Õëµ÷Óõĺ¯Êý¡£Èç¹ûÄã°Ñº¯ÊýµÄÖ¸Õ루µØÖ·£©×÷Ϊ²ÎÊý´«µÝ¸øÁí ......

¹ØÓÚB/SºÍC/S¼Ü¹¹µÄ½éÉÜ

Ò»¡¢Ê²Ã´ÊÇC/SºÍB/S
µÚÒ»¡¢Ê²Ã´ÊÇC/S½á¹¹¡£C/S
£¨Client/Server£©½á¹¹£¬¼´´ó¼ÒÊìÖªµÄ¿Í»§»úºÍ·þÎñÆ÷½á¹¹¡£ËüÊÇÈí¼þϵͳÌåϵ½á¹¹£¬Í¨¹ýËü¿ÉÒÔ³ä·ÖÀûÓÃÁ½¶ËÓ²¼þ»·¾³µÄÓÅÊÆ£¬½«ÈÎÎñºÏÀí·ÖÅäµ½
Client¶ËºÍServer¶ËÀ´ÊµÏÖ£¬½µµÍÁËϵͳµÄͨѶ¿ªÏú¡£Ä¿Ç°´ó¶àÊýÓ¦ÓÃÈí¼þϵͳ¶¼ÊÇClient/ServerÐÎʽµÄÁ½²ã½á¹¹£¬ÓÉÓÚÏÖÔÚµÄÈí¼þÓ¦
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ