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

³ÌÐòԱ֮·©¤©¤ÈçºÎѧϰCÓïÑÔ²¢¾«Í¨CÓï


תÔØ×Ô: http://bbs.chinaitlab.com/thread-304041-1-1.html
ѧϰCÓïÑÔ²»ÊÇÒ»³¯Ò»Ï¦µÄÊÂÇ飬µ«Ò²²»ÐèÒª»¨·ÑÊ®Äêʱ¼ä²ÅÄܾ«Í¨¡£ÈçºÎÒÔ×îСµÄ´ú¼Ûѧϰ²¢¾«Í¨CÓïÑÔÊDZ¾ÎĵÄÖ÷Ìâ¡£Çë×¢Ò⣬¼´Ê¹ÊÇ“×îСµÄ´ú¼Û”£¬Ò²¾ø²»ÊÇʲô½Ý¾¶£¬¶øÊÇÒÔ×î¶ÌµÄʱ¼äÈ¡µÃ×î¶àµÄÊÕ»ñ£¬Í¬Ê±Ò²Òâζ×ÅÄãÐèÒª¾­Àú¼è¿àµÄ¹ý³Ì¡£
Ò»¡¢Òª¶Á¾Í¶ÁºÃÊ飬·ñÔò²»Èç²»¶Á
¡¡¡¡ËùÓгõѧÕßÃæÁٵĵÚÒ»¸öÎÊÌâ±ãÊÇ£ºÈçºÎÑ¡Ôñ½Ì²Ä¡£ºÃµÄ¿ªÊ¼Êdzɹ¦µÄÒ»°ë£¬Ñ¡ÔñÒ»±¾ÓÅÐãµÄ½Ì²ÄÊÇÊ°빦±¶µÄ¹Ø¼üÒòËØ¡£²»ÐÒµÄÊÇ£¬Ñ§Ð£Í¨³£»á°ïÄãÖ¸¶¨Ò»±¾ºÜ²î¾¢µÄCÓïÑԿα¾£»¶øÐÒÔ˵ÄÊÇ£¬Ä㻹¿ÉÒÔÔÙ´ÎÑ¡Ôñ¡£
¡¡¡¡´óÃû¶¦¶¦µÄÌ·ºÆÇ¿½ÌÊÚ³öÁËÒ»±¾¡¶CÓïÑÔ³ÌÐòÉè¼Æ¡·£¬¾Ý˵·¢ÐÐÁ¿Óг¬¹ý400Íò£¬¾ÝÎÒËùÖª£¬ºÜ¶àѧУ¶¼»áÍƼöÕâ±¾Êé×÷ΪCÓïÑԿα¾¡£ËäÈ»±¾È˵ÄÃû×Ö£¨Ì·ºÆÓ¸ú½ÌÊÚ½ö½öÒ»×ÖÖ®²î£¬µ«ÎÒÊÇÎޱȼᶨµØºÚËûÕâ±¾ÊéµÄ¡£Õâ±¾Êé²»ÊÇд¸ø¼ÆËã»úרҵµÄѧÉúµÄ£¬¶øÊǸøÄÇЩÐèÒª¿¼¼ÆËã»úµÈ¼¶¿¼ÊÔµÄÆäËüרҵѧÉú¿´µÄ¡£Õâ±¾ÊéµÄÖ÷ҪȱµãÊÇ£ºÀý×Ó³ÌÐò·Ç³£²»×¨Òµ£¬²»Ä̸ܽøÄã³ÌÐòÉè¼ÆÓ¦¸ÃÕÆÎÕµÄ˼¿¼·½Ê½£»³ÌÐò·ç¸ñÏ൱µØ²»ºÃ£¬»áÈÃÄãÑø³ÉÂÒд´úÂëµÄ¶ñÏ°£»´íÎóÌ«¶à£¬Ôø¾­ÓÐÈËÖ¸³ö¹ýÕâ±¾ÊéµÄÉÏ°Ù¸ö´íÎó£¬ÆäÖв»·¦¹Ø¼üµÄ¸ÅÄîÐÔ´íÎ󡣺ÃÁË£¬Õâ±¾ÊéÎÒÒ²²»Ïë˵̫¶àÁË£¬ÓÐÐËȤ´ó¼Ò¿ÉÒÔ°Ù¶Èһϣº£©
¡¡¡¡KernighanºÍRitchieµÄ¡¶The C Programming Language¡·£¨ÖÐÒëÃû¡¶C³ÌÐòÉè¼ÆÓïÑÔ¡·£©¿°³Æ¾­µäÖеľ­µä£¬²»¹ý¾É°æµÄºÜ¶àÄÚÈݶ¼Òѹýʱ£¬ºÍÏÖÔڵıê×¼CÓïÑÔÏàÈ¥ÉõÔ¶£¬´ó¼ÒÒ»¶¨Òª¿´×îеİ汾£¬·ñÔò²»Èç²»¿´¡£ÁíÍ⣬¼´Ê¹ÊÇ×î¾­µä×îȨÍþµÄÊ飬ҲûÓа취ÃæÃæ¾ãµ½£¬ËùÒÔÊֱ߳£±¸Ò»±¾¡¶CÓïÑԲο¼ÊֲᡷÊÇÊ®·Ö±ØÒªµÄ¡£¡¶CÓïÑԲο¼Êֲᡷ¾ÍÊÇ¡¶C Reference Manual¡·£¬ÊÇCÓïÑÔ±ê×¼µÄÏêϸÃèÊö£¬°üÀ¨¾ø´ó¶àÊýC±ê×¼¿âº¯ÊýµÄϸ½Ú£¬ËãµÃÉÏÊÇ×îºÃµÄ±ê×¼CÓïÑԵŤ¾ßÊ顣˳±ãÌáÒ»¾ä£¬×îеġ¶C³ÌÐòÉè¼ÆÓïÑÔ¡·ÊǸù¾ÝC89±ê×¼ÐÞ¶©µÄ£¬¶ø¡¶CÓïÑԲο¼ÊֲᡷÃèÊöµÄÊÇC99±ê×¼£¬¶þÕß¿ÉÄÜ»áÓÐЩ³öÈ룬½¨Òé°´ÕÕC99±ê׼ѧϰ¡£»¹ÓÐÒ»±¾¡¶CºÍÖ¸Õë¡·£¬Ð´µÃÒ²ÊÇÏ൱µØ²»´í£¬Ó¢ÎÄÃûÊÇ¡¶Pointers on C¡·£¬ÌرðµØÇ¿µ÷Ö¸ÕëµÄÖØÒªÐÔ£¬ËãÊDZ¾ÊéµÄÒ»¸öÌصã°É¡£²»¹ýÕâ±¾Êé²¢²»Ê®·ÖÊʺϳõѧÕߣ¬Èç¹ûÄãÔø¾­Ñ§¹ýCÓïÑÔ£¬ÓÐÄÇôһЩCÓïÑԵĻù´¡µ«ÓÖ²»ÊǺÜÔúʵ£¬ÄÇôÄã¿ÉÒÔ³¢ÊÔÒ»ÏÂÕâ±¾Êé¡£ÎÒÏàÐÅ£¬Ö»ÒªÄãÀí½âÁËÖ¸Õ룬CÓïÑԱ㲻ÔÙÉñÃØ¡£
¡¡¡¡Èç¹ûÄãÒѾ­¿ÐÍêÁËÒ»±¾CÓïÑԽ̲ģ¬ÏëÒª¸ü½øÒ»²½£¬ÄÇôÓÐÁ½±¾ÊéÄãÒ»¶¨Òª¿´¡£Ê×ÏÈÊÇ¡¶C Traps and Pitfalls¡·£¨ÖÐÒëÃû¡¶CÏݾ®ÓëȱÏ


Ïà¹ØÎĵµ£º

mysql c ½Ó¿Ú´óÈ«


MYSQLÔÚ C API ÖпÉÓõĺ¯Êý£º
mysql_affected_rows()
·µ»Ø±»×îеÄUPDATE, DELETE»òINSERT²éѯӰÏìµÄÐÐÊý¡£
mysql_close()
¹Ø±ÕÒ»¸ö·þÎñÆ÷Á¬½Ó¡£
mysql_connect()
Á¬½ÓÒ»¸öMySQL·þÎñÆ÷¡£¸Ãº¯Êý²»ÍƼö£»Ê¹ÓÃmysql_real_connect()´úÌæ¡£
mysql_change_user()
¸Ä±äÔÚÒ»¸ö´ò¿ªµÄÁ¬½ÓÉϵÄÓû§ºÍÊý¾Ý¿â¡£
mysql_ ......

linuxÏÂcÓïÑԹػú³ÌÐò

/* Offtimer.c.For auto halt. */
#include <time.h>
#include <stdlib.h>
#include <unistd.h>
#define DELAY 60/* Time of sleeping */
int main()
{
  time_t now;
  struct tm *p;
  
  while(1)
  {
  now = time(NULL);
&n ......

C/C++±à³ÌGUI¿â±È½Ï

×îÇ¿µÄGUI¿âµ±ÊôQt£¬±Ï¾¹ÊÇÉÌÒµ»¯µÄ¶«Î÷£¬¹¦ÄÜ×îÍêÕû£¬Ê²Ã´¶¼ºÃ£¬°üÀ¨ÀàËÆjava´úÂë·ç¸ñ£¬Á¼ºÃµÄ¿ò¼ÜÉè¼Æ£¬µ«Óм¸µãÖµµÄÒ»Ì᣺
     1.ËüûÓÐʹÓÃSTL£¬¶øÊÇ×Ô¼ºÊµÏÖÁËÒ»Ì×Ìæ´ú·½°¸QTL£»
     2.ʼþÄ£ÐÍʹÓÃ×Ô´´µÄsignal/slot»úÖÆ£¬ËùÒÔÐèÒªmoc.exeÀ´Ô¤´¦ÀíÍ·Îļþ£»
  &nbs ......

C/C++ Îļþ¶Áд²Ù×÷×ܽá(2)

Îå¡¢Îļþ¶¨Î»
¡¡¡¡ºÍCµÄÎļþ²Ù×÷·½Ê½²»Í¬µÄÊÇ£¬C++ I/Oϵͳ¹ÜÀíÁ½¸öÓëÒ»¸öÎļþÏàÁªÏµµÄÖ¸Õë¡£Ò»¸öÊǶÁÖ¸Õ룬Ëü˵Ã÷ÊäÈë²Ù×÷ÔÚÎļþÖеÄλÖã»ÁíÒ»¸öÊÇдָÕ룬ËüÏ´Îд²Ù×÷µÄλÖá£Ã¿´ÎÖ´ÐÐÊäÈë»òÊä³öʱ£¬ÏàÓ¦µÄÖ¸Õë×Ô¶¯±ä»¯¡£ËùÒÔ£¬C++µÄÎļþ¶¨Î»·ÖΪ¶ÁλÖúÍдλÖõĶ¨Î»£¬¶ÔÓ¦µÄ³ÉÔ±º¯ÊýÊÇ seekg()ºÍ seekp()£¬seekg()ÊÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ