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

(ת£©Ñ§Ï°c/c++µÄ50¸öºÃÍøÕ¾

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¡¢http://www.google.com/codesearch?q=programming++lang:c&cs_r=lang:c --¹È¸è´úÂëµÄ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¡¢http://people.sc.fsu.edu/~burkardt/cpp_src/cpp_src.html --ÕâÊÇÒ»¸öÈ«ÃæµÄ¹ØÓÚC++µÄ345¸öÔ´´úÂëÇåµ¥¡£
16¡¢http://www.cplusplus.com/src/ --C++дµÄͨÓÿØÖÆ̨³ÌÐòºÍWindows³ÌÐò´úÂëÇåµ¥¡£
17¡¢http://users.cs.fiu.edu/~weiss/dsaa_c++/code/ --C++ÓïÑÔÊý¾Ý½á¹¹ÓëËã·¨·ÖÎö£¨µÚ¶þ°æ£©µÄÔ´´úÂë¡£
18¡¢http://c.snippets.org/ --CÔ´´úÂëƬ¶Î¡£
19¡¢http://www.bbdsoft.com/downloads.html --C++Ô´´úÂë¡£
20¡¢http://www.moshier.net/ ÌìÎÄѧºÍÊýÖµÈí¼þÔ´´úÂë
21¡¢http://cplus.about.com/od/cgames/C_Games_with_Source_Code.htm --ÓÎÏ·ÓйصÄC++Ô´´úÂë¡£
22¡¢http://cliodhna.cop.uop.edu/~hetrick/c-sources.html --Ãâ·ÑµÄC/C++ÊýÖµ¼ÆËãÔ´´úÂë¡£
23¡¢http://www.mathtools.net/C_C__/Utilities/index.html -


Ïà¹ØÎĵµ£º

ÈçºÎʹÓ÷ºÐÍÄ£擬virtual? (C/C++) (template)

ÍøÉÏÒ»µÀ½ðɽµÄÃæÊÔÌ⣺
http://topic.csdn.net/u/20100524/14/0eff992a-2849-4db6-bdaa-d4a200e79b7c.html
Çë·Ö±ðÓÃC++µÄÃæÏò¶ÔÏóºÍ·ºÐÍ»úÖÆ£¬±àдʵÏÖTemplate MethodģʽµÄʾÀý´úÂ룬²¢±È½ÏÁ½ÖÖ·½Ê½¸÷×ÔµÄÓÅȱµã¡£
ÓÃÐ麯ÊýʵÏÖTemplate MethodµÄ·½Ê½¾Í²»¶à˵ÁË¡£Ó÷ºÐ͵ķ½Ê½ÊµÏÖ¶à̬ÔÚATLÀïÃæÓдóÁ¿µÄÓõ½£¡
·ºÐ͵ ......

Beautify your c/c++ source code

http://uncrustify.sourceforge.net/
Ident code, aligning on parens, assignments, etc
Align on '=' and variable definitions
Align structure initializers
Align #define stuff
Align backslash-newline stuff
Reformat comments (a little bit)
Fix inter-character spacing
Add or remove parens on return ......

C/C++º¯Êý²ÎÊý,´«ÖµÓò´«Ö·µÄÇø±ð!!!

/*
* File: main.cpp
* Author: Vicky
*
* Created on 2010Äê5ÔÂ8ÈÕ, ÏÂÎç2:47
*/
#include <iostream>
using namespace std;
class A{
public:
A(){
cout << "Ö´Ðй¹Ô캯Êý´´½¨Ò»¸ö¶ÔÏó" << endl;
}
A(A&){
cout << "Ö´Ðп½±´º¯Êý¿½±´Ò»¸ö¶ ......

c ºê¶¨Òå

¹ØÓÚ#ºÍ##ÔÚCÓïÑԵĺêÖУ¬#µÄ¹¦ÄÜÊǽ«ÆäºóÃæµÄºê²ÎÊý½øÐÐ×Ö·û´®»¯²Ù×÷£¨Stringfication£©£¬¼òµ¥Ëµ¾ÍÊÇÔÚ¶ÔËüËùÒýÓõĺê±äÁ¿Í¨¹ýÌæ»»ºóÔÚÆä×óÓÒ¸÷¼ÓÉÏÒ»¸öË«ÒýºÅ¡£±ÈÈçÏÂÃæ´úÂëÖеĺ꣺
#define WARN_IF(EXP)     \
     do{ if (EXP)     \
  & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ