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

LinuxÏÂc++¼òµ¥makefileÎÊÌâ - C/C++ / C++ ÓïÑÔ

Ò»¹²ÓÐ3¸ö.cppÎļþ£¬2¸ö.hÎļþ
a.cpp a.h ¶¨ÒåÒ»¸öAÀà
b.cpp b.h ¶¨ÒåÒ»¸öBÀ࣬BÀàÖÐÓÐÒ»¸ö³ÉÔ±ÊÇAÀàµÄ¶ÔÏó
main.cpp ʹÓÃÁËBÀàµÄ¶ÔÏó
ÏÖÔÚÐèÒªÔÚLinuxϱàÒë  
Ï£Íû¸ßÈËÖ¸µãһϣ¬Ð´Ò»¸ö×î¼òµ¥µÄmakefile¼´¿É£¬·Ç³£¸Ðл£¡

Ö§³Ö
ÒýÓÃ

ÄĸöÎļþÖÐʹÓÃÁËÄĸöÀֻ࣬ÐèÒªÔÚÆäÖаüº¬ÏàÓ¦µÄÍ·Îļþ¾Í¿ÉÒÔÁË¡£Õâ¸öÓëmakefileÎ޹ء£
C/C++ code

main: main.cpp a.cpp b.cpp a.h b.h
g++ $< -o $@


ÒýÓÃ
ÄĸöÎļþÖÐʹÓÃÁËÄĸöÀֻ࣬ÐèÒªÔÚÆäÖаüº¬ÏàÓ¦µÄÍ·Îļþ¾Í¿ÉÒÔÁË¡£Õâ¸öÓëmakefileÎ޹ء£

C/C++ code

main: main.cpp a.cpp b.cpp a.h b.h
g++ $< -o $@

ÄúºÃ£¬Ð»Ð»ÄúµÄ»Ø¸´£¬²»ÐèÒªÉú³É.oµÄÖмäÎļþ£¬ÎÒÖ»ÓÃÕâÒ»¾ä»°¾ÍOKÁËÂð

²»»áдMakefileµÄ£¬¿ÉÒÔÓÃEclipse×Ô¶¯Éú³Émakefile

.o»á×Ô¶¯Éú³ÉµÄ

ÒýÓÃ
²»ÐèÒªÉú³É.oµÄÖмäÎļþ£¬ÎÒÖ»ÓÃÕâÒ»¾ä»°¾ÍOKÁËÂð


Èç¹ûÖ»ÊǼòµ¥µØÁ˽âÒ»ÏÂmakefileÔõôд£¬ÕâÒ»¾ä¾Í¹»ÁË¡£makefileÖ»²»¹ýÊǸö¹¤¾ß¡£µÈLZÓÐЩ»ù´¡ºó£¬×ÔÈ»»á²úÉú¸üºÃµÄÏë·¨¡£


Ïà¹ØÎÊ´ð£º

C/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý - C/C++ / C++ ÓïÑÔ

´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......

FCKÉÏ´«Îļþµ½linux·þÎñÆ÷ÎÊÌâ - Java / Java EE

ÇëÎÒÓÃFCKÉÏ´«Îļþ,ÔÚ±¾µØµÄwindows»úÉϲâÊÔ¿ÉÒÔ£¬µ«²¿Êðµ½linux·þÎñÆ÷ÉϾÍÉÏ´«²»ÁËÎļþ£¬ÉÏ´«Îļþʱһֱ¿¨ÔÚÄÇÀï¡£Íû¸÷λ´óϺָµã£¬Ð»Ð»£¡
·¹ý£¬°ïÄ㶥һÏ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

ÉÏ´«ÎļþµÄ·¾¶ÎÊÌ⣬ ......

visual c++2008²»ÄܱàÒëC³ÌÐòÂð - C/C++ / CÓïÑÔ

visual c++2008Ëٳɰ棬²»ÄܱàÒëC³ÌÐòÂð£¿Èç¹ûÄÜÊÇÔõô¿ªÊ¼µÄ°¡£¿ÓÃËü´øµÄÃüÁîÌáʾµ¥Ôª³ýÍâ ¡£
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆ̨£©

¾ø¶Ô¿ÉÒÔ¡£½¨Á¢win32¿ØÖÆ̨³ÌÐò¾Í¿ÉÒÔ

ÒýÓÃ
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆ̨£ ......

ÓйØAccessÊý¾Ý¿â´æÈ¡µÄÎÊÌâ - C++ Builder / »ù´¡Àà

ÈçºÎ½«Ò»¸öListBoxÖеÄÊý¾Ý´æÔÚÊý¾Ý¿âÖеÄÒ»¸ö×Ö¶ÎÏÂÃ棬²¢ÇÒÿÌõ¼Ç¼µÄ×Ö·û´®¸öÊý²»Ò»¶¨ ÒÔ¼°ÈçºÎ´ÓÊý¾Ý¿âÖжÁÈ¡¸ÃListBoxÖеÄËùÓмǼ
C/C++ code:

//´æÈëÊý¾Ý¿â
void __fastcall TForm1::Button5Click(TO ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ