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

¹ØÓÚperlÖкÍCÖеÄsort»úÖÆ £¨×ªÔØ£©

¹ØÓÚperlÖкÍCÖеÄsort»úÖÆ
£¨×ªÔØ£©
ϸ¶ÁC++ primer£¬ÖÕÓÚÀí½âÁËÒ»Ö±±È½ÏÒÉ»óµÄperlºÍCµÄsortº¯Êý»úÖÆ¡£ÎÒµ½²»ÊÇÒÉ»óËüµÄÓ÷¨£¬¶øÊǺÜÒÉ»óËüµÄÐÎʽ£¬ÎªÊ²Ã´Òª´«µÝÒ»¸ö×Ó³ÌÐòµÄÄäÃûÒýÓøøËüÄØ£¬¶øÇÒÐÎʽ»¹ºÜ¹Å¹Ö£¬Ò»¶¨ÒªÊÇ$a<$b£¬$a<=>$bÖ®ÀàµÄ¡£ÒªÇóÑϸñÇҹŹ֡£
½ñҹͻȻ¿´µ½p.384Ò³£¬¿´µ½ÊéÉ϶ÔquicksortÅÅÐòËã·¨µÄ½²½âÖÕÓÚŪÃ÷°×ÁËΪʲôҪ´«µÝÒ»¸öÈç´Ë¹Å¹ÖµÄ×Ó³ÌÐò£¬²¢ÂÔ˼¿¼Ò»Ï£¬ÍÆÏë³öperl¶ÔϱêÅÅÐòµÄÔ­ÀíÒÔ¼°ÎªºÎÊéÉÏ˵ϱêÅÅÐòÒª¿ì£¨¶ÔÒ»¸ö×Ö³¤µÄÖ¸Õë½øÐн»»»¶ø²»ÊǶÔÄÚ´æÊý¾Ý½øÐн»»»£¬³ý·ÇÊý×éµÄÄÚÈÝÊdz¬³¤×Ö·û´®Ö®ÀàµÄ¡£ÎÒµ¹ÊÇÔø¾­ÊÔ¹ýϱêÅÅÐò£¬È·ÊµÒª±ÈÊý×éÖ±½ÓÅÅÐòÒª¿ì²»ÉÙ£©¡£
ÁíÍ⣬¹ØÓÚperlµÄreferenceÕâ¸öÃû×ÖÆðÃû¸Ðµ½ºÜÆæ¹Ö¡£Õâ¸öÃû×ÖÔÚÆäËüÓïÑÔÖж¼Òâζ×űðÃû£¬Ï൱ÓÚperlµÄalias»úÖÆ¡£ºÍperlÖÐʵ¼ÊµÄrefÓ¦ÓÃÍêÈ«²»´î±ß¡£
ÓÐÈË°ÑperlµÄref»úÖƳÆΪָÕ룬¿´ÆðÀ´µ¹ÊǷdz£µÄÏñÁË£¬¿Éϧ×î´óµÄÎÊÌâÊÇperlµÄref¸ù±¾²»Ö§³ÖpointerËù±ØÓеÄ×ÔÔö++Ö®ÀàµÄ²Ù×÷(ËüµÄ×ÔÔö²Ù×÷¾ÓÈ»ÊÇÊä³öÒ»¸öÕûÊý£¿)¡£
¸öÈËÒþÔ¼¾õµÃ£¬perlµÄref»úÖƵ¹ÊǺÍSTLÖеÄiterator·Ç³£ÉñËÆ£¬×ÔÓÉ£¬Êܵ½±£»¤È´ÓÃÆðÀ´ÇáËÉ£¬Ç¿´ó¡£Ôںܶ෽Ãæ±Èiterator¸ü×ÔÓÉ£¬Òò´ËÒ²ÊÇÎÒϲ»¶ÓÃperlµÄrefµØÔ­Òò¡£Ò²ÐílarryÕæµÄºÜÊÜSTLµÄÓ°Ï죿ҲÐíperlÔÚij·½Ãæ×ߵøüԶһЩÁË¡£
ÆäʵºÜÏ£Íûperl 6ÄÜ°Ñref»úÖƸüÉÏÒ»²½£¬½è¼øiteratorµÄÓŵã(¿ÉϧÎÒÔÚperl 6µÄRFCÖÐûÓп´µ½ÓйصÄÒâÏò)¡£perl 6˵Ҫ×öÒ»¸öÍêÈ«Object-OrientµÄÓïÑÔ£¬ÆäʵÎÒ¸üÏ£ÍûËüÄÜ×öÒ»¸öGenericµÄÓïÑÔ(ÔÚijЩ·½Ã棬ÎÒ¾õµÃperl 5±ÈSTL¸üGeneric£¬ÒªÊÇÔÙ½è¼øÒ»ÏÂtemplatesģʽ¾ÍºÃÁË)
ºú˵ÁËЩ¸ÐÏ룬ºÜ¶àµØ·½Ô­ÀíÖ»ÊÇÓдËÍƱˣ¬Ã»Óп´¹ýÓйصÄperlÔ´Â룬²»Ò»¶¨ÕýÈ·¡£


Ïà¹ØÎĵµ£º

¡¶CÓïÑÔÉî¶ÈÆÊÎö¡·Ñ§Ï°±Ê¼ÇÈý

1.10.3£¬voidÖ¸Õë
¡¾¹æÔò 1-35¡¿Ç§ÍòСÐÄÓÖСÐÄʹÓÃvoidÖ¸ÕëÀàÐÍ¡£
°´ÕÕ ANSI(American National Standards Institute)±ê×¼£¬²»ÄÜ¶Ô voidÖ¸Õë½øÐÐËã·¨²Ù×÷£¬¼´ÏÂÁвÙ×÷¶¼ÊDz»ºÏ·¨µÄ£º
void * pvoid;
pvoid++; //ANSI£º´íÎó
pvoid += 1; //ANSI£º´íÎó
ANSI ±ê×¼Ö®ËùÒÔÕâÑùÈ϶¨£¬ÊÇÒòΪËü¼á³Ö£º½øÐÐËã·¨²Ù×÷µÄÖ¸Õë±ØÐëÊ ......

ACE+gSOAPʵÏÖ¸ßÐÔÄÜWebService Server£¨C/C++£©

1¡¢¿ª·¢»·¾³Çë²Î¿¼¡¶´î½¨ACE-5.7.4+VS2008¿ª·¢»·¾³¡·Ò»ÎÄ
2¡¢gSOAP¿â£¬ÏÂÔصØÖ·£ºhttp://gsoap2.sourceforge.net/£¬±¾ÎÄʹÓõİ汾ÊÇ£ºgsoap_2.7.15£¬gSOAPµÄ±à³Ì¿ÉÒԲο¼docĿ¼ÏµÄsoapdoc2.pdf£¬¹Ù·½ÎĵµÐ´µÄ·Ç³£Ïêϸ¡£
ÈÃÎÒÃÇ¿ªÊ¼gSOAP±àÂëÂọ́º
1¡¢´´½¨gsoap_server.h£º
//gsoap ns2 service namespace: http://l ......

extern "C"


1.ÒýÑÔ
C++ÓïÑԵĴ´½¨³õÖÔÊÇ“a better
C”£¬µ«ÊÇÕâ²¢²»Òâζ×ÅC++ÖÐÀàËÆCÓïÑÔµÄÈ«¾Ö±äÁ¿ºÍº¯ÊýËù²ÉÓõıàÒëºÍÁ¬½Ó·½Ê½ÓëCÓïÑÔÍêÈ«Ïàͬ¡£×÷ΪһÖÖÓûÓëC¼æÈݵÄÓïÑÔ£¬C++±£ÁôÁËÒ»²¿·Ö¹ý³ÌʽÓïÑÔµÄÌص㣨±»ÊÀÈ˳ÆΪ“²»³¹µ×µØÃæÏò¶ÔÏ󔣩£¬Òò¶øËü¿ÉÒÔ¶¨Òå²»ÊôÓÚÈκÎÀàµÄÈ«¾Ö±äÁ¿ºÍº¯Êý¡£µ«ÊÇ£¬C++±Ï¾ ......

CÓïÑÔÁ¬½ÓMySQLÖÐÎÄÎÊÌâ

ÔÚѧϰ£¼Linux³ÌÐòÉè¼Æ£¾µÚ8ÕÂMySQLÊý¾Ý¿â8.3½Ú£º
ʹÓÃCÓïÑÔ·ÃÎÊMySQL·ÃÎÊÊý¾Ý¿âʱ³¢ÊÔ°ÑSQLÊý¾Ý»»³ÉÁËÖÐÎÄ£¬µ«ÊÇÔÚÔËÐÐʾÀý³ÌÐòʱÖÕ¶ËÊä³öÈ´ÂÒÂ룬MySQL C ÓïÑÔÁ¬½ÓĬÈÏ×Ö·û¼¯ÊÇlatin1
²éÁËÏÂAPIÕÒµ½ÈçϺ¯Êý¿É½â¾öÖÐÎÄÂÒÂëÎÊÌâ¡£
int
mysql_set_character_set(
MYSQL *
mysql,
char
*
csname)
ÃèÊö
¸Ãº¯ÊýÓ ......

¹ØÓÚ¡¶0 bug C/C++ÉÌÓù¤³ÌÖ®µÀ¡·µÄÒ»µã˵Ã÷

ÎÒÕâÁ½ÌìÔÚCSDNÂÛ̳¿ªÁËÒ»¸öÉ¢·ÖÌù£¬ÏëÐû´«Ò»ÏÂÎÒµÄÊé¡£´ó¶àÊýÅóÓÑ»¹ÊǺÜÓѺõģ¬¶ÔÎÒµÄÖ§³ÖºÍ¹ÄÀøºÜ¶à£¬ÎÒÒ²ºÜ¸Ð¼¤¡£
ÍøÖ·ÔÚÕâÀhttp://topic.csdn.net/u/20091216/22/5a6594be-21e6-459e-ab41-57755273f465.html
µ±È»£¬Ò²ÓÐÅóÓÑÈÏΪФijÈË´µÅ££¬Ëµ0bug²»¿ÉÄÜ£¬²¢ÇÒÒþÒþÓÐPKµÄÒâ˼£¬ÎÒÄØû°ì·¨£¬Ð´Á˸ö˵Ã÷¡£
ÕâÀïÏëÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ