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

50¸öc/c++Ô´´úÂëÍøÕ¾

C/C++ÊÇ×îÖ÷ÒªµÄ±à³ÌÓïÑÔ¡£ÕâÀïÁгöÁË50ÃûÓÅÐãÍøÕ¾ºÍÍøÒ³Çåµ¥£¬ÕâЩÍøÕ¾Ìṩc/c++Ô´´úÂë¡£Õâ·ÝÇåµ¥ÌṩÁËÔ´´úÂëµÄÁ´½ÓÒÔ¼°ËüÃǵÄС˵Ã÷¡£ÎÒÒѾ¡Á¦°üÀ¨×î¼ÑµÄC/C++Ô´´úÂëµÄÍøÕ¾¡£Õâ²»ÊÇÒ»¸öÍêÕûµÄÇåµ¥£¬ÄúÓн¨Òé¿ÉÒÔÁªÏµÎÒ£¬ÎÒ½«»¶Ó­ÄúµÄ½¨Ò飬ÒÔ½øÒ»²½¼ÓÇ¿Õâ·½ÃæµÄÇåµ¥¡£
1¡¢http://snippets.dzone.com/tag/c/ --ÊýÒÔǧ¼ÆµÄÓÐÓõÄCÓïÑÔÔ´´úÂëƬ¶Î
2¡¢http://www.hotscripts.com/category/c-cpp/scripts-programs/ Hotscripts --ÌṩÊýÒ԰ټƵÄCºÍC++½Å±¾ºÍ³ÌÐò¡£ËùÓгÌÐò¶¼·ÖΪ²»Í¬µÄÀà±ð¡£
3¡¢http://www.planetsourcecode.com/vb/default.asp?lngWId=3 --³¬¹ýÍòÐÐCºÍC++Ãâ·ÑµÄÔ´´úÂë
4¡¢http://freshmeat.net/browse/164/ --³¬¹ý9000¸öC±àдµÄÏîÄ¿¡£
5¡¢http://www.daniweb.com/code/c.html --DANIWEBÌṩµÄʵÓôúÂë¶Î ¡£
6¡¢http://www.programmersheaven.com/tags/C/ --programmersheaven.comÉϵÄC±à³Ì×ÊÔ´¡£
7¡¢http://www.ddj.com/code/ddj.html --Dr. Dobb’s JournalµÄÔ´´úÂë¡£
8¡¢http://www.cprogramming.com/cgi-bin/source/source.cgi --CºÍC + +±à³Ì×ÊÔ´¡£
9¡¢http://www.codecogs.com/ --CodeCogsÊÇÒ»ÏîЭ×÷µÄ¿ª·ÅÔ´Âë¿â£¬C/C++µÄÊýÖµ·½ÃæµÄ×é¼þ¡£
10¡¢[URL=http://www.google.com /codesearch?q=programming++lang:c&cs_r=lang:c ]http://www.google.com/codesearch?q=programming++lang:c&cs_r=lang:c [/URL] --¹È¸è´úÂëµÄCÔ´´úÂë¡£
11¡¢http://www.codepedia.com/1/C --CodePediaÊÇÒ»¸ö¿ª·ÅµÄ¹ØÓÚϵͳ±à³ÌºÍÆäËûÓëµçÄÔÓйصÄÒéÌâ¡£
12¡¢http://www.cis.temple.edu/~ingargio/cis71/code/ --ΪѧÉúÌṩµÄÒ»¸ö¼òµ¥µÄCÓïÑÔ³ÌÐòµÄÁÐ±í¡£
13¡¢http://www.codeproject.com/?cat=2 --codeprojectÌṩµÄC/C++×ÊÔ´´úÂëÏîÄ¿¡£
14¡¢http://www.thefreecountry.com/sourcecode/cpp.shtml --ÒÔÏÂÊÇһЩCºÍC++¿âµÄDLL£¬VCLs£¬Ô´´úÂ룬Ԫ¼þ£¬Ä£¿é£¬Ó¦ÓóÌÐò¿ò¼Ü£¬Àà¿â£¬Ô´´úÂëƬ¶ÎµÈ£¬Äã¿ÉÒÔÔÚÄúµÄÏîÄ¿ÖÐʹÓöø²»ÐèÒªÖ§¸¶·ÑÓúͰæË°¡£
15¡¢[URL=http://people.sc.fsu.edu /~burkardt/cpp_src/cpp_src.html ]http://people.sc.fsu.edu/~burkardt/cpp_src/cpp_src.html [/URL] --ÕâÊÇÒ»¸öÈ«ÃæµÄ¹ØÓÚC++µÄ345¸öÔ´´úÂëÇåµ¥¡£
16¡¢http://www.cplusplus.com/src/ --C++дµÄͨÓÿØÖÆ̨³ÌÐòºÍWindows³ÌÐò´úÂëÇåµ¥¡£
17¡¢http://users.cs.fiu.edu/~weiss/dsaa_c++/code/ --C++ÓïÑÔÊý¾Ý½á¹¹ÓëËã·¨·ÖÎö£¨µÚ¶þ°


Ïà¹ØÎĵµ£º

Óà Eclipse ¿ª·¢C/C++

ÒªÏëÓÃeclipse¿ª·¢C/C++ Ê×ÏÈÒªÅäÖÃÒ»¸öC/C++µÄ±àÒë»·¾³£¬ÒòΪeclipse×ÔÉíÊDz»´øµÄ¡£ ÐèÒªÏÂÃæÕâÁ½¸ö±Ø²»¿ÉÉٵŤ¾ß 1.±àÒ빤¾ß MinGW£ºhttp://www.mingw.org/             Ö±½ÓÏÂÔصØÖ·£ºhttp://sourceforge.net/projects/mingw/files/ 2.eclipse²å¼þ CDT £ ......

dzÒéC /CLIµÄgcnew¹Ø¼ü×Ö

http://west263.com/info/html/chengxusheji/C-C--/20080224/9240.html
1. gcnew·µ»ØµÄÊǸö¾ä±ú(Handle)£¬¶ønew·µ»ØµÄÊÇʵ¼ÊµÄÄÚ´æµØÖ·.
¡¡¡¡2. gcnew´´½¨µÄ¶ÔÏóÓÉÐéÄâ»úÍйܣ¬¶ønew´´½¨µÄ¶ÔÏó±ØÐë×Ô¼ºÀ´¹ÜÀíºÍÊÍ·Å.
¡¡¡¡µ±È»£¬´Ó³ÌʽԱµÄ½Ç¶ÈÀ´Ëµ£¬¹ÜËûÊǾä±ú»¹ÊÇʲôÆäËûµÄ¶«Î÷£¬×ÜÅܲ»µôÊǶÔij¿éÄÚ´æµØÖ·µÄÒýÓã¬Êµ¼Ê ......

ǶÈëʽCÃæÊÔÌâ1

1 . ÓÃÔ¤´¦ÀíÖ¸Áî#define ÉùÃ÷Ò»¸ö³£Êý£¬ÓÃÒÔ±íÃ÷1ÄêÖÐÓжàÉÙÃ루ºöÂÔÈòÄêÎÊÌ⣩
         #define SECONDS_PER_YEAR (60 * 60 * 24 * 365)UL
ÎÒÔÚÕâÏë¿´µ½¼¸¼þÊÂÇ飺
1) #define Óï·¨µÄ»ù±¾ÖªÊ¶£¨ÀýÈ磺²»ÄÜÒԷֺŽáÊø£¬À¨ºÅµÄʹÓ㬵ȵȣ©
2)¶®µÃÔ¤´¦ÀíÆ÷½«ÎªÄã¼ÆËã³£Êý±í´ï ......

×Ô¼ºÊµÏÖ»ù±¾µÄC±ê×¼¿â×Ö·û´®´¦Àíº¯Êý

×Ö·û´®ÊÇCÓïÑԵľ«»ªÖ®Ò»£¬CÓïÑÔÊDZÊÊÔ¿¼ÌâµÄºËÐÄ֪ʶµã£¬²»¹ÜÄãÊÇѧc++£¬Ñ§java»¹ÊÇc#¡¢.net£¬»¹Êǽű¾Ê²Ã´µÄ£¬×îºÃ»¹ÊǶ®µãC°É£¬²»¶®C±ÊÊÔ»òÐí±È½Ï³Ô¿÷¡£ËùÒÔÔÚ±ÊÊÔÃæÊÔÖУ¬×Ö·û´®µÄÎÊÌâÊǾ­³£³öÏֵģ¬ÆäÖÐÓÐÒ»ÀàÎÊÌâ¾ÍÊÇ×Ô¼ºÊµÏÖһЩ»ù±¾µÄC±ê×¼¿âµÄ×Ö·û´®´¦Àíº¯Êý»òÆäËûC±ê×¼¿âº¯Êý¡£
ÎÊÌâÒ»ÃèÊö£º Óñê×¼Cдһ¸öÅжϸ ......

CÖÐenumÀàÐͳÉÔ±µÄ²ÎÊý±ä»¯

enumÀàÐ͵ijÉÔ±£¬Ä¬ÈÏÇé¿öÏÂÊÇ´Ó0¿ªÊ¼¸³Öµ£» 
Èç¹ûÖмäij¸ö³ÉÔ±½øÐÐÁËÊÖ¶¯¸³ÖµµÄ»°£¬¸Ã³ÉÔ±µÄÏÂÒ»¸ö³ÉÔ±µÄֵΪ¸Ã³ÉÔ±µÄÖµ+1
#include <stdio.h>
typedef enum {
PLAYMODE = 1, // ĬÈÏ´Ó0¿ªÊ¼
PAUSEMODE,
STOPMODE = 5,
TRACKRPTMODE,
MIXMODE
}Status_t;
int main()
{
int n = 4;
sw ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ