ÈçºÎÔÚLinuxÏ°²×°C/C++¿ª·¢»·¾³ - C/C++ / C++ ÓïÑÔ
ÓÐÄÇЩºÃµÄ¿ª·¢»·¾³£¬¾ßÌåÔõô°²×°µÄ¡£
1. ±àÒëÆ÷+Îı¾±à¼Æ÷·½°¸
gcc + vim
gcc + emacs
2. IDE·½°¸
eclipse +£ã£ä£ô
¡¡ kdevelop
Linux×Ô´øÓÐgcc±àÒëÆ÷£¬ºÍwindowsϵÄVC++Ò»ÑùµÄ±àÒëÆ÷¡£µ«ÔÚLinuxϵıàÒëÆðͼÐλ¯½çÃæ²»ÏñVC£¬Ëü¸üÏñ¿ØÖÆ̨ÄÇÖÖ¡£
gcc+gdb+gmake+kdevelop
ÀïÃæÓиö½ÐÖն˵ľͿÉÒÔ±àдC++µÄ³ÌÐòÁË
g++¾Í¿ÉÒÔ±àÒëc++ÁË¡£
gcc¾ÍÊDZàÒëcµÄ¡£
Ïà¹ØÎÊ´ð£º
´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......
ÈçÌ⣬ÔÚWINDOWSµ×ϵÄCODE»á£¬µ«ÔÚLINUXϲ»ÖªµÀÈçºÎʵÏÖ£¬JSµÄ´úÂëÓ¦¸ÃÊDz»Ò»ÑùµÄ¡£ Çó½Ì¡£
·Ö²»¹»ÔÙ¼Ó¡£
http://topic.csdn.net/u/20100113/08/17ba1e71-4c33-43f6-91a5-0e031c86e5ed.html
linux ......
ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......
Îҵİå×ÓÓÃǶÈëʽlinuxϵͳ·¢ËÍ×é²¥°ü¸øÎÒPCÐéÄâ»úµÄlinux£¬ÐéÄâ»úµÄlinux¿ÉÒÔ½ÓÊÕµ½£¬µ«ÊÇͬÑùµÄ³ÌÐò£¬ÓÃÐéÄâ»úµÄlinux·¢ËÍ£¬Ç¶ÈëʽlinuxÈ´½ÓÊÕ²»µ½£¬¾ßÌå±íÏÖΪ×èÈûÔÚrecvfromº¯Êý¡£
´óÖÂÒѾ¿ÉÒÔÅųýµÄÎÊÌ⣺
1 ......
ÈçºÎ½«Ò»¸öListBoxÖеÄÊý¾Ý´æÔÚÊý¾Ý¿âÖеÄÒ»¸ö×Ö¶ÎÏÂÃ棬²¢ÇÒÿÌõ¼Ç¼µÄ×Ö·û´®¸öÊý²»Ò»¶¨ ÒÔ¼°ÈçºÎ´ÓÊý¾Ý¿âÖжÁÈ¡¸ÃListBoxÖеÄËùÓмǼ
C/C++ code:
//´æÈëÊý¾Ý¿â
void __fastcall TForm1::Button5Click(TO ......