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

Netbeans Ï ÓÃMinGWÅäÖÃC/C++±àÒë»·¾³

½ñÌìÅäÖÃÁËÒ»ÏÂnetbeansµÄc++±àÒë»·¾³£¬ËùÒÔдһƪÈÕÖ¾±¸Íü£¬Í¬Ê±Ò²¹©¹ã´óÍøÓѲο¼ºÍѧϰ¡£
×¼±¸×ÊÔ´£º
1¡¢netbeans ¿ÉÒÔµ½¹Ù·½ÍøÕ¾ÏÂÔØzh-cn.netbeans.org/
2¡¢MinGW±àÒëÆ÷£¨MinGWÖÐÓÐg++ºÍgcc±àÒëÆ÷£©µã´Ë´¦ÏÂÔØ£¬¿ÉÒÔµ½ÎÒÌṩµÄcsdnµÄ¹²ÏíÏÂÔØ£¬ÓÉÓÚ´óСÏÞÖÆ·ÖÁ½²¿·Ö
µØÖ·£ºµÚÒ»²¿·Ö http://download.csdn.net/source/2252840 
3¡¢MSYS ¿ÉÒÔµã´ËÏÂÔØ
4¡¢gdb ¿ÉÒÔµã´ËÏÂÔØ
¿ªÊ¼
×¼±¸ºÃÉÏÊö²ÄÁϺ󣬾ͿÉÒÔ½øÈë°²×°½×¶Î¡£
Ê×ÏÈ£¬°²×°netbeans£¬Õâ¸ö²»×ö¹ý¶à½éÉÜ£¬¾Í°´ÕÕ°²×°Ïòµ¼Ò»²½Ò»²½½øÐУ¬µ«×¢ÒâÏÂÔصÄnetbeans°æ±¾Òª°üº¬c/c++²å¼þµÄ¡£
µÚ¶þ£¬°²×°MinGW£¬ÏÂÔØÎÒÌṩµÄMinGW£¬ÀïÃæÓÐbinutils-2.17.50-20060824-1.tar.gz ¡¢ gcc-core-4.2.1-sjlj-2.tar.gz ¡¢gcc-g++-4.2.1-sjlj-2.tar.gz¡¢mingw32-make-3.81-20080326-2.tar.gz¡¢mingwrt-3.15.1-mingw32.tar.gz¡¢mingwrt-3.15.1-mingw32-dev.tar.gz¡¢mingwrt-3.15.1-mingw32-dll.tar.gz¡¢w32api-3.11.tar.gz °Ë¸öÎļþ£¬½«ËùÓÐÎļþ½âѹµ½Ò»¸öÎļþ¼ÐÏ£¬ÈçC:\MinGWÏ£¬È»ºó½«C:\MinGW\binÌí¼Óµ½Â·¾¶ÖÐ ²¢½«C:\MinGW\binϵÄg++-sjlj.exeÎļþ¸´ÖÆΪg++.exe,½«C:\MinGW\binϵÄgcc-sjlj.exe¸´ÖÆΪgcc.exe ´Ëʱ£¬´ò¿ªcmd´°¿ÚÊäÈëgcc Èç¹ûÌáʾ£ºgcc: no input files Ôò˵Ã÷MinGW°²×°³É¹¦
µÚÈý£¬°²×°MSYS£¬Ö±½Ó°²×°£¬³öÏÖDo you wish to continue with the post install? [yn ]ʱ»Ø´ðy£¬½Ó×ųöÏÖ“Do you have MinGW installed? [yn ]” »Ø´ðy£¬½Ó×ÅÒªÇóÊäÈëMinGW°²×°µÄĿ¼ ÈçC:\MinGW ÕâÑùMSYS¾Í°²×°Íê³ÉÁË¡£
µÚËÄ£¬°²×°gdb£¬½«gdb-6.8-mingw-3.tar.bz2 ½âѹËõµ½ C:\MinGW Ŀ¼ÖУ¬ÒÔ±ã gdb ¿ÉÖ´ÐÐÎļþ»á±»°²×°µ½ C:\MinGW\bin Ŀ¼ÖÐ
×îºó£¬ÔÚnetbeansÖУ¬¹¤¾ß->Ñ¡Ïî->C\C++Ò³Ãæ Éú³É¹¤¾ßÑ¡ÏÅäÖÃÈçÏÂ


Ïà¹ØÎĵµ£º

netbeansÖÐÖ§³ÖC/C++µÄÅäÖÃ

ÔÚnetbeansÖб༭C/C++ÊÇÒ»ÖÖ²»´íµÄÑ¡Ôñ£¬ÏÂÃæÎÒ¾Í˵һÏÂÕû¸öÁ÷³ÌµÄÅäÖà 1.ÏÈÏÂÔØMinGW ÕâÊDZàÒëc/c++µÄ±àÒëÆ÷£¬ÔÚwindowsÏÂÖ±½ÓÒÔ.exeµÄ·½Ê½ÔËÐУ¬ÏÂÒ»²½µÄ²Ù×÷£¬Ò»Ö±µ½°²×°Íê³É¡£ 2.ÏÂÔØmsys ÕâÊǺÍMinGWͬ²½Ê¹Óà 3.ÅäÖû·¾³ ÔÚÎҵĵçÄÔ->ÊôÐÔ->¸ß¼¶->»·¾³±äÁ¿ÖÐÉèÖÃMinGWºÍmsysĿ¼ÖÐbinËùÔڵķ¾¶ 4.²âÊÔ ÓÃÃüÁîÐз½Ê½Ê ......

ÀûÓÃVC++ʵÏÖ¶ÔXML½áµãµÄ¸üкÍ×·¼Ó

ʵÏÖ¹¦ÄÜ£º¸ù¾ÝÅäÖÃÎļþ£¨XXXX.ini£©ÖеÄÄÚÈݶÔXMLÖнڵã½øÐвÙ×÷£¬Èç¹ûXMLÖдæÔÚÓëÅäÖÃÎļþÖÐÏàͬµÄ½Úµã£¬Ôò¸ù¾ÝÅäÖÃÎļþ½«XMLÎļþÖÐÏàÓ¦½ÚµãµÄÖµ½øÐиüУ»Èç¹ûXMLÎļþÖв»´æÔÚÅäÖÃÎļþÖгöÏֵĽڵ㣬ÔòÔÚXMLÖн«Ð½ڵ㼰ֵ½øÐвåÈë²Ù×÷¡£
¡ôXMLÎĵµ½á¹¹ÈçÏÂ
//------------------------------------------------------ ......

c c++

  C++ÓïÑÔ·½ÃæµÄÊé¼®
³õѧÕß½¨Òé°´ÒÔÏÂ˳ÐòÔĶÁ
 
¡¶C++ Primer¡·
ΪC++ÐÂÊÖ¶øд£¬Ò»±¾ “´ÓÈëÃŵ½¾«Í¨”µÄC++½Ì³Ì
Ëü²¢²»ÊʺÏÍêÈ«²»¶®C++µÄ³õѧÕߣ¬ÔÚÔĶÁÕâ±¾Êé֮ǰ£¬×îºÃÏÈÓÐÒ»µãC»òC++µÄ±³¾°ÖªÊ¶£¬»òÕßһЩÆäËûÓïÑԵıà³Ì¾­Ñé
Ê¡ÂÔÁËһЩ¸ß¼¶C++ÌØÐÔµÄÌÖÂÛ£¬µ«ÈÔÈ»¿ÉÒԳƵÃÉÏÊÇÆù½ñΪֹ×îÈ«Ã ......

Ò»¶ÎÓÃÀ´ÅжÏÈÕÆÚÊÇÐÇÆÚ¼¸µÄC´úÂë

/////////////////////////////////////////////////
// Ö÷Ì⣺һ¶ÎÓÃÀ´ÅжÏÈÕÆÚÊÇÐÇÆÚ¼¸µÄ´úÂë
// ÃèÊö£ºÕª×Ô¡¶CCFAQ¡·
// ×÷ÕߣºÌìÖ®·ã
// ʱ¼ä£º2010-02-13
///////////////////////////////////////////////// 
#include <stdio.h>
int dayofweek(int y, int m, int d) // ÅжÏÊäÈëµÄÈÕÆÚÊÇÐÇÆÚ¼¸ ......

C/C++Îļþ²Ù×÷

 Ô­ÎĵØÖ·£ºhttp://www.layz.net/blog/user1/xuanxuan/archives/2006/67.html
 ÔÚC++ÖУ¬ÓÐÒ»¸östreamÕâ¸öÀ࣬ËùÓеÄI/O¶¼ÒÔÕâ¸ö“Á÷”ÀàΪ»ù´¡µÄ£¬°üÀ¨ÎÒÃÇÒªÈÏʶµÄÎļþI/O£¬streamÕâ¸öÀàÓÐÁ½¸öÖØÒªµÄÔËËã·û£º

1¡¢²åÈëÆ÷(<<)
¡¡¡¡ÏòÁ÷Êä³öÊý¾Ý¡£±ÈÈç˵ϵͳÓÐÒ»¸öĬÈϵıê×¼Êä³öÁ÷(cout)£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ