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

ÈçºÎÉîÈëѧϰc - C/C++ / CÓïÑÔ

ÎÒÏëÎÊÏ´ó¼Ò Èç¹ûÎÒÏëһֱѧϰcµÄ»°ÊDz»ÊÇÓбØҪתµ½LinuxÏÂÈ¥£¿ ÔÚwindowsÏÂÎÒÒ²×ÔѧÁË SDK ¿ÉÄÜÎÒѧϰ»¹²»¹»ÉîÈëµÄÔ­Òò ¸Ð¾õ²»ÊǺܺà ¾ÍÊÇ´°¿Ú°¡ ɶµÄ ÎÒ¸ü¼Óϲ»¶µ×²ãµãºÍÍøÂç±à³Ì·½ÃæµÄ¶«Î÷ ÏëÍùÕâЩ·½Ãæ·¢Õ¹ ËùÒÔÏëÎÊÎÊ ÊÇ·ñÓбØҪתµ½ LinuxÏ £¿ »¹ÓÐ ÎÒÒ»Ö±¶¼ÓõÄvc6 Õâ¸öIDE ¿´×Å´ó¼Ò¶ÔIDEµÄÆÀ¼ÛÖÚ˵·×ç¡µÄ ²»ÖªµÀ ¼ÌÐøÔÚIDEÉÏд³ÌÐò»á²»»áÓ°Ï콫À´µÄ·¢Õ¹£¿
Õâ¸öÎÒÒ²ÔÙѧÖУ¬ÆÚ´ý¸ü¶àºÃµÄ»Ø¸´

Linux¿ÉÒÔ³¢ÊÔ·¢Õ¹£¡

µÈ´ý¸ßÊÖ


×î½üÎÒÔÚÓÃQT£¬ºÃÏñÕâ¸ö±È½Ï»ðÏÖÔÚ

×Ô¼º¶¥Ò»¸öÏÈ Çó½â

Linux¸üµ×²ãô£¿
ÎÒ²»ÖªµÀ
²»¹ýÎÒ¾õµÃÄãÒªÊǸãÇý¶¯¿ª·¢»òµ¥Æ¬»ú¿ª·¢¾ø¶ÔÊǵײãÁË

ÎÒ¸Õ¸ÕÎÊÁËÒ»¸öºÍÄãͬÑùµÄÎÊÌâ¡£O(¡É_¡É)O¹þ¹þ~Ï£Íû¸ßÊÖÄܸø³öÒ»¸öÈ·ÇеĴð°¸


¸öÈ˾õµÃ
Ê×ÏÈҪѧºÃÅжϺÍÑ­»·
ÑϸñÒªÇó×Ô¼º£¬¸æËß×Ô¼º£¬Ð´³öµÄÿһÐдúÂ붼ÊÇÑϸñµÄ¡£

È»ºó¾ÍÊÇѧºÃÖ¸Õ룬ѧ»áÓÃÖ¸Õ룬º¯ÊýÖ¸Õ룬·µ»ØÖ¸ÕëµÈµÈ
È»ºóÔÙÈÏÕæÁ˽âһϿÕÀàÐÍÖ¸Õë¡£
˳±ã×öϹã¸æÍƼöÒ»±¾Ê顶³ÌÐòÕⶫÎ÷¡·
ºóÃæµÄÀý×Ó»¹ÊÇÖµµÃÒ»¿´µÄ¡£ 
ÏÂÔصØÖ· http://download.csdn.net/source/2329978
ÕâÊÇCµÄ²¿·Ö

»ù´¡´òºÃÁËÖ®ºó£¬C++×ÅÖØÀí½âÃæÏò¶ÔÏóµÄ˼Ïë¡£
ÆäʵÃæÏò¶ÔÏó¸ü×ÅÖØÆ«ÏòÓÚÉè¼Æ·ÖÎö¡£

ÒÔÉ϶¼ÊǸöÈ˹۵㣬Ç뿼ÂÇ·ÖÎö½ÓÊÜ¡£

ÎÒÒ²ÏëÖªµÀ£¬ÎÒҲϲ»¶µ×²ãµÄ¶«Î÷

°Ñ»ù±¾¹¦´òÀÎÁË£¬È¥×ªÊ²Ã´¶¼¿ÉÒÔµÄ



µÈ´ýÇ°±²Ö¸½Ì

CÓïÑÔµÄÓô¦ºÜ´óµÄ¡£


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

Çó½Ìc/c++ÓïÑÔÏà¹ØÎÊÌâ - C/C++ / CÓïÑÔ

ÓÐÒ»10*10¾ØÕ󣬳ýÈ¥µÚÒ»¸öµã£¨0£¬0£©ºÍ×îºóÒ»µã£¨9£¬9£©£¬»¹Óа˸öµãΪ1£¬ÆäËû¶¼Îª0£¬ÒªÇóÓöþάÊý×é±íʾ¡£°Ë¸öµãÊÇËæ»úÉú³ÉµÄ£¬±àдÏà¹Ø³ÌÐò±íʾ¾ØÕóËùÓпÉÄÜÇé¿ö¡£
ÕæÐÄÇó½Ì¸÷λ¸ßÊÖ£¬°¥£¡±¾ÈËÌ«²ËÁË£¡ºÇºÇ£¡
......

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

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

c¾²Ì¬±àÒëÁíÒ»¸öÎļþ¼ÐµÄ¿âº¯Êý - C/C++ / CÓïÑÔ

ÔÚ¸ùĿ¼/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Öж¨ÒåµÄ·½·¨ ......

c/sºÍb/sÖ®¼äÔõôͨѶ. - Java / Web ¿ª·¢

ÔھƵê¹ÜÀíϵͳÖÐ,ÓÐÒ»¸ö¶ÔÄÚµÄϵͳ,¹©Ç°Ì¨·þÎñÔ±ºÍ¾­ÀíʹÓÃ
»¹ÓÐÒ»¸ö¾ÍÊǶÔÍâ,Èÿͻ§¿ÉÒÔÔÚÍøÉÏÔ¤¶©·¿¼ä,
ËüÃÇÖ®¼äÊÇÔõôͨѶµÄ.?µ±ÎÒÌá½»Ô¤¶©·¿¼äÐÅÏ¢µÄʱºò,
ÔÚ¶ÔÄÚµÄϵͳÖÐ,ÈçºÎÖªµÀÎÒÒѾ­Ìá½»ÁËÐÅÏ¢¹ýÈ¥.Ê¹Ç ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ