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

C/C++Ê¥Õ½(Ò»)


±êÇ©£º
it
·ÖÀࣺC/C++
ÎҵĻØÒäºÍÓÐȤµÄ¹ÊÊ --- C/C++ʥսƪ
Àîά
------------------------------------------------------------------------------------------
ÉùÃ÷
ÒÔϵÄÕâƪÎÄÕÂÄÚÈÝÊÇÎÒ¸öÈ˵ĻØÒäÒÔ¼°¿´·¨£¬Ã»ÓÐÈκÎÌرðµÄÆ«¼û£¬Ðí¶àµÄÊÂÇéÊǸù¾ÝÎҵļÇÒäÒÔ¼°´ÓÐí¶àÈ˵ÄËß˵ÖеÃÖªµÄ£¬Ò²ÐíÄÚÈݲ»ÊÇ°Ù·ÖÖ®°ÙµÄÕýÈ·£¬²»¹ýÎÒÏëÕâЩÄÚÈÝÓÐÒ»¶¨µÄ¿ÉÐŶȵ½ÊÇ¿ÉÒÔ±£Ö¤µÄ¡£µ±È»ÓÐһЩÊÂÇéÈ·¶¨µÄ·¢Éúʱ¼äºÍ˳Ðò²»Ò»¶¨¶¼ºÍÎҵļÇÒäÒ»Ö£¬²»¹ýÎÒÏë´ó²¿·ÝÓ¦¸ÃÊÇÏàÈ¥²»Ô¶µÄ¡£µ±È»¸÷λÈç¹ûÖªµÀÈ·¶¨µÄʼþ¶øÎҵļÇÒäÓÐÎó£¬ÄÇôÎÒ½«·Ç³£»¶Ó­Äú¾ÀÕýÎÒ£¬ÎÒÏ£ÍûÕâЩ¹Êʵľ­ÀúÄܹ»Ò»Ö±ÅãÎÒ×ßÏÂÈ¥£¬Ð»Ð»¡£
-----------------------------------------------------------------------------------------------------------------------------------
Ò»Ö±ÏëдһƪÎÒ¸öÈËÔÚ¹ýÈ¥10¶àÄêÀ´¹¤×÷Öо­ÀúµÄһЩÊÂÇ飬ÒÔ¼°¿´×ÅһЩÎÒÈÏΪÊÇΰ´óµÄ¹¤³ÌʦÔÚÕâЩÈÕ×ÓÖжÔÓÚÐÅÏ¢½çµÄ¹±Ïס£Èç¹ûÄãºÍÎÒµÄÄêÁä²î²»¶à£¬ÄÇôÄã¿ÉÄÜ»á¶ÔÓÚÕâЩÄÚÈݺÜÓÐÐËȤ£¬ÒòΪËüÃÇ˵Ã÷Á˵±Ê±Ðí¶àÈí¼þµÄÐËÆðºÍûÂäµÄ¹ý³ÌÒÔ¼°Ô­Òò¡£ËäÈ»ÕâЩÊÂÇéÒѾ­¾àÀëÎÒÃǺÜÒ£Ô¶ÁË£¬µ«ÊÇÎÒÏàÐÅÐí¶àÈËÈÔÈ»¶ÔÓÚ±³ºóµÄ¹ÊÊÂÓÐÐËȤ¡£Èç¹ûÄãûÓо­Àú¹ýÄǶÎÃÀºÃµÄ»ØÒ䣬ÄÇô¾Í°ÑÕâЩÄÚÈݵ±³ÉÊÇÒ»¸öÓÐȤµÄ¹ÊÊÂÀ´¿´°É¡£µ«ÊÇÎÒÏë¸üÖØÒªµÄÊÇÈÃÎÒÃÇÒ»ÆðÈÏʶһЩΰ´óµÄÈËÎÎÒ¶ÔÓÚÆäÖеÄÐí¶àÈ˶¼·Ç³£µÄÅå·þ£¬Ò²·Ç³£µÄÏÛĽ¡£ÎÒ³£³£ÔÚÏ룬Èç¹ûÎÒÒ²ÓÐËûÃǵĻ·¾³£¬ÎÒÊDz»ÊÇÒ²Äܹ»ºÍËûÃÇÒ»ÑùÕâôÓгɾÍÄØ?ÕâЩÈ˶ÔÓÚÒÔÍù¶¼ÓÐÖØÒªµÄ¹±Ï×£¬ÔÚδÀ´Ò²½«ÈÔÈ»ÓÐÖØÒªµÄÓ°Ï죬ÒòΪËûÃǶ¼ÓÐÒ»Éí²»·²µÄ¼¼Êõ¡£¶ÔÓÚÐí¶àÖØÒªµÄÈËÎÒ¶¼¾¡Á¿µÄÊÕ¼¯ÁËËûÃǵÄÕÕƬ£¬Èø÷λҲÄܹ»¿´¿´ÕâЩÓÅÐãµÄ¹¤³ÌʦºÍ½Ü³öµÄ¼¼ÊõÈËÔ±£¬´ÓÄÇЩÄÚÈÝÖÐѧϰµ½Ê§°ÜµÄÔ­ÒòÒÔ¼°³É¹¦µÄ¾­Ñ飬ÄÇôÕâƪÎÄÕ¾͸üÓмÛÖµÁË¡£
ºÍBorlandµÄÔµÓÉ
¼ÇµÃÎÒÔÚ´óѧʱµÚÒ»¸öÔÚPCÉÏʹÓõÄÈí¼þ±ãÊÇSideKick£¬ÖÁ½ñÎÒÈÔÈ»ÎÞ·¨Íü¼ÇÕâ¸öÈÃÎÒ½ò½òÀÖµÀµÄÈí¼þ£¬¶ø BorlandÔÚµ±Ê±Ò²¾ÍÊÇÒÔSideKick³ÉΪȫÇòÖªÃûµÄÈí¼þ¹«Ë¾¡£²»¹ýBorlandµÚÒ»¸öµìÁ¢´´Òµ»ùÒµµÄÈí¼þÈ´ÊÇÎÒ´ó¶þʹÓÃÀ´½»×÷ÒµµÄTurbo Pascal¡£¶øTurbo PascalÒ²ÊǵÚÒ»¸öÎÒÌýµ½¹ØÓÚBorlandµÄÓÐȤµÄ¹ÊÊ¡£
µ±ÄêPhilippe Kahn (BorlandµÄ´´Ê¹ÈË)ºÍAnders Hejlsbergµ½ÃÀ¹ú´´ÒµÊ±£¬±ãÓÉAndersÒÔ»ã±àÓïÑÔ׫дÁËTurbo PascalµÄ±àÒëÆ÷£¬¶øPhilippeÔò°ü°ìÁËTurbo PascalÆäËüµÄ²¿·Ý¡£ÔÚÕâÁ½Î»ÈÊÐÖ¿ª·¢ÍêTurbo PascalÖ®ºó£¬ÇîµÃ¿ìÁ¬µÇ¹ã¸æµÄÇ®


Ïà¹ØÎĵµ£º

¶Á¡¶¸ßÖÊÁ¿C++_C±à³ÌÖ¸ÄÏ(ÁÖÈñ²©Ê¿)¡·ÓиÐ!

  Äõ½Õâ±¾µç×ÓÊé¿´ÁËÁÖ²©Ê¿Ð´µÄÇ°ÑÔ£¬½²ÊöµÄʲôÊDZà³ÌÀÏÊÖÓë±à³Ì¸ßÊÖ£¬´ËʱÎÒ²ÅÖªÎÒÖ»ÄܳƵÃÉÏÊÇÒµÓà±à³Ì°®ºÃÕ߶øÒÑ,ÁÖ²©Ê¿¶Ô±à³ÌÀÏÊÖÓë±à³Ì¸ßÊÖ×öÁËÈçϵĶ¨Ò壺
  ¶¨Òå 1£ºÄܳ¤ÆÚÎȶ¨µØ±àд³ö¸ßÖÊÁ¿³ÌÐòµÄ³ÌÐòÔ±³ÆΪ±à³ÌÀÏÊÖ¡£
  ¶¨Òå 2£ºÄܳ¤ÆÚÎȶ¨µØ±àд³ö¸ßÄѶȡ¢¸ßÖÊÁ¿³ÌÐòµÄ³ÌÐòÔ±³ÆΪ±à³Ì¸ßÊÖ¡£ ......

mysql C±à³Ì£¨Ò»£©mysql´íÎóÂ룬¹ØÓÚmysql_errno

¼ÙÉèÎÒÃÇʹÓÃmysql_real_queryÖ´ÐÐÁËÒ»ÌõsqlÓï¾äÖ®ºó£¬·µ»ØֵΪ·Ç0Öµ£¬´ó¼Ò¶¼ÖªµÀÕâÊÇÕâÌõÓï¾äÖ´Ðгö´í£¬µ«ÊÇÎÒÃÇÏë
Á˽âµØ¸üÏêϸµãµÄ»°£¬¾¿¾¹ÊÇʲôԭÒòµ¼ÖÂÁËÕâ¸ö´íÎóÄØ£¿Õâʱºò¾ÍµÃÓÃÉÏmysqlÌṩµÄÁíÍâÒ»¸öAPI£ºmysql_errno¡£
mysql_errno»áÌṩ×î½üÒ»´Îµ÷ÓõÄC API³ö´íµÄÐÅÏ¢£¨²»¼ûµÃÿ¸öAPI¶¼»á¶ÔÕâ¸öerrno½øÐÐÉèÖ ......

linux CÕýÔò±í´ïʽ——POSIXÕýÔò²âÊÔ

ÕâÊÇCµÄÔ­³ÌÐò
#include <stdio.h>
#include <regex.h>
int main(int argc, char** argv)
{
regex_t reg;
regmatch_t pm[10];
char *pattern;
char buf[50];
const size_t nmatch = 10;

pattern = argv[1];
int result = regcomp(®, pattern, REG_EXTENDED);
while( fgets ......

תC/C++ºÍ»ã±à»ìºÏ±à³Ì

תCºÍ»ã±à»ìºÏ±à³Ì
.dataÊdzõʼ»¯µÄÊý¾Ý¿é¡£ÕâЩÊý¾Ý°üÀ¨±àÒëʱ±»³õʼ»¯µÄglobleºÍstatic±äÁ¿£¬Ò²°üÀ¨×Ö·û´®¡£
Á¬½ÓÆ÷½«OBJs¼°LIBsÎļþµÄ.data½áºÏ³ÉÒ»¸ö´óµÄ.data¡£local±äÁ¿ÒÔ·ÅÔÚÒ»¸öÏßÐԵĶÑÕ»ÖУ¬
²»Õ¼.dataºÍ.bssµÄ¿Õ¼ä¡£ºÍ.textÒ»Ñù£¬Êý¾Ý¿éÊÇÒÔÃ÷ÎĵÄÐÎʽ´æ·ÅÔÚÎļþÖеġ£ÎÞ·¨·ÀÖ¹¶ÔÆäÎïÀíµÄÐ޸ġ£
.bssÇøÊÇ´æ· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ