Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 -


Ïà¹ØÎĵµ£º

ÔÚEclipseϵÄC/C++¿ª·¢£¨Eclipse3.2 + CDT 3.1£©


ÒªÈàEclipse ¿ÉÒÔ¿ª·¢ C/C++ ³Ìʽ£¬Òª¹ÒÉÏ CDT ²Å¿ÉÒÔ¡£
 
Ê×ÏÈÒªÏÂÔØCDT
 
CDTµÄ×îа汾ÊÇ 3.1.0£¬ËüÖ§³Öeclipse3.2.0£¬ÆäÏÂÔصØÖ·£ºhttp://download3.eclipse.org/tools/cdt/releases/callisto/dist/3.1.0/£¬»òÕßÊǵ½http://www.eclipse.org/cdt/downloads.phpÏÂÔØÆäËü° ......

C/C++º¯Êý²ÎÊý,´«ÖµÓò´«Ö·!!!

/*
* File: main.cpp
* Author: Vicky
*
* Created on 2010Äê5ÔÂ8ÈÕ, ÏÂÎç2:47
*/
#include <iostream>
using namespace std;
void swap(int x, int y) {
cout << "x and y swap before : " << x << "\t" << y << endl;
int i = x;
x = y;
y = i; ......

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++µÄ64λÕûÐÍ

Technorati ±êÇ©: C++ Ô­ÎĵØÖ·£ºhttp://www.byvoid.com/blog/c-int64/ ÔÚC/C++ÖУ¬64ΪÕûÐÍÒ»Ö±ÊÇÒ»ÖÖûÓÐÈ·¶¨¹æ·¶µÄÊý¾ÝÀàÐÍ¡£ÏÖ½ñÖ÷Á÷µÄ±àÒëÆ÷ÖУ¬¶Ô64ΪÕûÐ͵ÄÖ§³ÖÒ²ÊDZê×¼²»Ò»£¬ÐÎ̬¸÷Òì¡£Ò»°ãÀ´Ëµ£¬64λÕûÐ͵Ķ¨Ò巽ʽÓÐlong longºÍ__int64Á½ÖÖ(VC»¹Ö§³Ö_int64)£¬¶øÊä³öµ½±ê×¼Êä³ö·½Ê½ÓÐprintf(¡°%lld¡±,a)£¬printf ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ