Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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Ö®ºó£¬ÇîµÃ¿ìÁ¬µÇ¹ã¸æµÄÇ®


Ïà¹ØÎĵµ£º

SQLiteÓëC½áºÏ

SQLite¹Ù·½ÍøÕ¾Àý×Ó£º
#include <stdio.h>
#include <sqlite3.h>
static int callback(void *NotUsed, int argc, char **argv, char **azColName){
int i;
for(i=0; i<argc; i++){
printf("%s = %s\n", azColName[i], argv[i] ? argv[i] : "NULL");
}
printf("\n");
return 0;
}
i ......

Linux/WinCE C¡¢C++¸ß¶Ë¿Î³Ì

—¡ï—ÅàѵÖÜÆÚ£º¹²950ѧʱ  5¸öÔÂ
—¡ï—Åàѵ¸½Ôù£º±£Ö¤Ñ§Ô±ÈËÊÖÒ»»úºÍÒ»Ì×ARM9¿ª·¢°å
—¡ï—ÅàѵÄÚÈÝ£ºÔÚÏîÄ¿¾­ÀíµÄ´øÁìÏ£¬Í¨¹ýÍê³É¾ÖÍøµÄÂ齫ÓÎÏ·¡¢My ICQ(ÍøÂçÁÄÌì)ºÍ·¢µç»úÔÚÏß¼à¿Øϵͳ£¬BTÏÂÔØÈí¼þ£¬ÕÆÎÕ»ùÓÚLinuxºÍWindowsƽ̨ϵÄC/C++ÆóÒµ¼¶Ó¦ÓõĿª·¢¼¼ÄÜ£¬ÕÆÎÕ´óÐÍÈí¼þÏî ......

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

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

LINUX C³ÌÐò¿ª·¢Ã¿ÈÕÒ»Ìâ——Ö¸Õë

 
ʵÏÖÒ»¸öÁ´±í£¬Íê³ÉÁ´±íµÄ²åÈ룬²éÕÒ£¬É¾³ý
 
typedef struct _FIFO_M{
  void *pdata;
struct _FIFO_M *pNext;
}FIFO_M,* pFIFO_M;
 
typedef struct _FIFO{
pFIFO_M head;
pFIFO_M tail;
pFIFO_M pos;
int mcount;//½Úµã¸öÊý
int max_count;//½Úµã×î´ó¸öÊý¡£
}FIFO,* pFIFO;
......

qt4ÖÐÈçºÎµ÷ÓÃCº¯Êý£¨linuxÏ£©

qtĬÈϵıà³ÌÓïÑÔΪC++ÓïÑÔ¡£Èç¹ûÄãÓÃqt±àÒë.cÎļþ£¬»á³öÏÖÕÒ²»µ½CÓïÑÔµÄĬÈÏÍ·ÎļþµÈ´íÎó£¨È磺stdio.hµÈ£©¡£qtÖв»Ö§³Ö
extern "C"{}µÄÕâÖÖд·¨£¬ÎÒÇ°¼¸ÌìÓÐÒ»¸öC³ÌÐòÐèÒªÒÆÖ²µ½QtµÄ¹¤³ÌÖУ¬±¾Ï£ÍûÖ±½Óextern "C"¾ÍokÁË£¬µ«·¢ÏÖqt4¾ÓÈ»²»Ö§³ÖÕâÖÖд·¨¡£ÎҵijÌÐòÖÐÓõ½Á˺ü¸¸ölinuxϵͳͷÎļþ£¬ÊÇÏò´®¿Ú·¢Ö¸ÁîÖ®ÀàµÄ³ÌÐò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ