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

C¸ß¼¶Ê¹Óü¼ÇÉÕûÀí

ÕâÀïÊÕ¼¯Ò»Ð©CÓïÑÔʹÓÃÖеĸ߼¶¼¼ÇÉ£¬ÕâЩ¼¼Çɶ¼ÊÇһЩ»ù±¾Óï·¨µÄÇÉÃîʹÓ㬵«ÊÇÊ״ο´µ½ÕâÑùµÄÓ÷¨»á¸Ð¾õÑÛ»¨çÔÂÒ¡£
Ò»¡¢mainº¯ÊýµÄ·â×°
ÔÚһЩ¿âÖУ¬ÎªÁ˼¯³É¶È¸ü¸ß£¬ÍùÍù»á°Ñmainº¯Êý·â×°µ½¿âÖУ¬¶øÌṩ¸øÓû§Ê¹ÓõÄÊÇÁíÒ»¸ö×Ô¶¨Ò庯Êý£¬Õâʱºò¾Í»áÓõ½mainº¯ÊýµÄ·â×°ÁË£¬ÕâÀïʹÓõÄÊǺ궨ÒåµÄ¼¼ÇÉ£º
#define MyMain \
MyAppMain(int argc, const char *argv[]); \
int main(int argc, const char *argv[]) \
{ \
//do something for init; \
MyAppMain(argc, argv[]); \
//do something for end; \
} \
int MyAppMain
ÕæÕýµÄÓ¦ÓóÌÐòÖ»ÒªÓÃ
int MyMain(int argc, const char *arg[])
×öΪ³ÌÐòµÄÖ÷Èë¿Ú£¬²»ÐèÒªmainº¯ÊýÁË¡£


Ïà¹ØÎĵµ£º

C/C++ÖнṹÌå(struct)֪ʶµãÇ¿»¯(ËÄ)

C/C++ÖнṹÌå(struct)֪ʶµãÇ¿»¯(ËÄ)
³ö´¦£ºPConline 2005Äê03ÔÂ07ÈÕ ×÷Õߣº¹ÜÄþ ÔðÈα༭£ºxietaoming
http://pcedu.pconline.com.cn/empolder/gj/c/0503/567942_5.html
 
¡¡¡¡×îºóѧϰһÏÂÈçºÎÔÚÒÑÓеÄÁ´±íÉϲåÈë½Úµã
¡¡¡¡ÎÒÃÇÒª¿¼ÂÇËÄÖÐÇé¿ö,
¡¡¡¡1.Á´±íΪ¿Õ!
¡¡¡¡2.²åÈëµãÔÚÊ×½ÚµãÇ°
¡¡¡¡3.²åÈëµãÕÒ² ......

¡¾C\C++ÓïÑÔÈëÃÅƪ¡¿ ÉîÈ뺯Êý

Ç°ÃæһƪÎÒÃǽéÉÜÁ˽ṹÌ壬ÕâƪÖÕÓÚÄܹ»½éÉܺ¯ÊýÁË¡£ÎªÊ²Ã´Õâô˵ÄØ£¿ÒòΪº¯Êý·Ç³£ÖØÒª¡£¾ÍÕâô¼òµ¥¡£ºÙºÙ£¡Ö®ËùÒÔÔÚÕâʱ²Å½²º¯Êý£¬ÊÇÒòΪ±¾Æª½«ÁªÏµµ½Ç°ÃæµÄÿһƪ£¬ÕâÑùº¯Êý²ÅÄÜÌåÏÖµÄ͸³¹¡£ÄÇÎÒÃǾÍÆȲ»¼°´ýµÄÇÐÈëÕýÌâ¡£
´ÓµÚһƪHelloworld¿ªÊ¼µ½ÏÖÔÚ£¬¾ÍûÓÐÍÑÀ뺯Êý¡£ÄǾÍÊÇÎÒÃǵÄmainº¯Êý¡£mainº¯ÊýÒ²ÊÇÒ»¸öÆÕͨµÄ ......

VIM+GDB linux c/c++ µÄ±à³ÌÀûÆ÷

 VIM+GDB linux c/c++ µÄ±à³ÌÀûÆ÷
http://blog.csdn.net/jackyvan/archive/2010/01/15/5193693.aspx
ÆäʵVIMÒ²ÄܰѱàÒë µ÷ÊÔ¼¯³ÉÔÚÒ»Æð£¬ÏñÊÇÒ»¸öIDEÒ»Ñù¡£
Ê×ÏÈÏÖÔÚVIMµÄÔ´Â룬ÒòΪҪ¼¯³Éµ÷ÊÔ»·¾³µÄ»°ÐèÒªÖØбàÒëVIM²ÅÐУ¬ËùÒÔÎÒÃDz»ÈçÖØа²×°Ò»¸ö¡£
VIMµÄÏÖÔÚµØÖ·£º
http://www.vim.org/sources.php
È»ºóÏ ......

VIM+GDB linux c/c++ µÄ±à³ÌÀûÆ÷

ÆäʵVIMÒ²ÄܰѱàÒë µ÷ÊÔ¼¯³ÉÔÚÒ»Æð£¬ÏñÊÇÒ»¸öIDEÒ»Ñù¡£
Ê×ÏÈÏÖÔÚVIMµÄÔ´Â룬ÒòΪҪ¼¯³Éµ÷ÊÔ»·¾³µÄ»°ÐèÒªÖØбàÒëVIM²ÅÐУ¬ËùÒÔÎÒÃDz»ÈçÖØа²×°Ò»¸ö¡£
VIMµÄÏÖÔÚµØÖ·£º
http://www.vim.org/sources.php
È»ºóÏÂÔØVIMGDB£¬ÕâÊÇvimµÄ¼¯³Éµ÷ÊÔ»·¾³µÄÒ»¸öÖØÒª²å¼þ³ÌÐò¡£
µØÖ·£ºhttp://sourceforge.net/projects/clewn/files ......

MS C¡¢STL¡¢MFC¶ÔWindows Mobile¿ª·¢µÄÖ§³Ö

MS C¡¢STL¡¢MFC¶ÔWindows Mobile¿ª·¢µÄÖ§³Ö
   
ËùÓÐ×ÊÁÏÀ´×ÔMSDN
--------------------------------------------------------------------------------
1.MobileÖ§³ÖµÄMicrosoft C
wcsncpy_s
wcscpy_s
wcscat_s
strncpy_s
strcpy_s
strcat_s
memmove_s
memcpy_s
_wsplitpath_s
_wmak ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ