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

Ïë½è´ó»ïѧϰcµÄ¾­Ñé - C/C++ / CÓïÑÔ

ѧcÓÐ1Äê¶àÁË£¬Ò»Ö±ÔÚvcÇû÷´úÂ룬µ½ÏÖÔÚ³ýÁËÓ﷨֪ʶºÍËã·¨£¬Ê²Ã´¶¼²»»á£¬Á¬¹¤³Ì¶¼Ã»¸ÅÄÎÒ¾õµÃ×Ô¼ºµÄÓï·¨»ù´¡ÒѾ­²»´íÁË£¬ËùÓÐÏëÈ·¶¨×Ô¼ºµÄ·¢Õ¹·½Ïò£¬ÓÚÊǶÔcÁ˽âÉõÉÙµÄÎÒÀ´ÕâÀïÏò´ó¼ÒÇóÖúÁË¡£Êý¾Ý½á¹¹ÎÒÊÇѧÁ˵ģ¬ÏÖÔÚÔÚѧ»ã±à....

ÏëÇëÎÊÏ´ó»ï£º1¡¢Èç¹ûÏëתÐ͵½linuxƽ̨Ï´ÓÊÂc¿ª·¢£¬¸ÃÈçºÎ¼ÌÐøѧϰÏÂÈ¥£¬Âé·³¸øµã¾­Ñ飬ÍƼöµãÊé¼®£¡
  2¡¢Èç¹û¼ÌÐøÔÚwindowsÏ´ÓÊÂc±à³ÌÄØ£¿ÓÐÄÄЩ·×Ó¿ÉÒÔ×ߣ¿Ó¦¸Ã¿´ÄÇЩÊ飿

лл´ó»ïÁË
Õâ¸öÒ²ÊÇÎÒµÄÎÊÌ⣬һֱÔÚÇÃvc´úÂ룬cµÄһЩ»ù±¾¶¼ÍüÁË¡£¡£¡£

Ò»°ãѧcÈç¹ûwindowsµÄ»°Ò»°ãÊÇSDKÈ»ºóMFC£¬Ñ§C#Òµ¿ÉÒÔLinuxµÄ»°¡¶¾«Í¨Linux C ±à³Ì¡·°É

ÒýÓÃ

Ò»°ãѧcÈç¹ûwindowsµÄ»°Ò»°ãÊÇSDKÈ»ºóMFC£¬Ñ§C#Òµ¿ÉÒÔLinuxµÄ»°¡¶¾«Í¨Linux C ±à³Ì¡·°É

ллŶ

ѧ»ác++»áÍüÁËcô£¿


ÒýÓÃ

ѧ»ác++»áÍüÁËcô£¿

²»»á

linuxϵÄC±à³Ì...ÓÐÒ»ÉáÓÑÒ²ÊÇÕâ·½ÏòµÄ...¿´ËûÏÖÔÚ¶¼ÔÚÓÃlinux±à³ÌÁË...»¹×êµ½ÄÚºËÑо¿È¥ÁË...Ò»°ãÊÇÓÃQT¿ª·¢µÄ°É...¾õµÃÄã¿ÉÒÔÏÈÊìϤÏÂÔõÑùÔÚlinuxÀïÃæ±à³Ì...È»ºó¶ÔÕâϵͳҪÊìϤ...ÊéµÄ»°ÍøÉϺܶà...¼¸ºõ¶¼¿ÉÒÔ¿´...
windowsÎÒÏÖÔÚ¾ÍÊÇÔÚÕâ¿éÁË...Ä¿Ç°ÊÇÕâôÏëµÄ...ÏÈC...È»ºó¾ÍÊÇÓÃËüÀ´×öһЩ¶«Î÷...Èç¹û˵תÏòC++µÄ»°Ò²¿ÉÒÔ...²»¹ý×Ô¼º»¹ÊÇÏëÏÈÉîÈëÕâ¸öÓïÑÔ...±Ï¾¹ÓïÑԵĶ¼²î²»¶àÓõÄ...רµÄÒ»¸ö¾Í¹»ÁË...ÄãҲ˵ÁË...ÆäʵËã·¨²ÅÊÇ×îÖØÒªµÄ...ËäÈ»½Ó´¥CÒѾ­ºÜ¾ÃÁË...È´×ÜÓÐЩ¶«Î÷×Ô¼º»¹Ã»¸ãÃ÷°×µÄ...ËùÒÔÏÖÔÚ»¹ÔÚ¸ã×Å...ºÇºÇ

ͬ¥Ö÷Ò»ÑùµÄÏë·¨£¬µ«»¹Ã»µ½Â¥Ö÷µÄˮƽ£¬ºÇºÇ£¡

C++ÖгÉÔ±±äÁ¿Îª¸´ÔÓÀàÐÍÔõôд¹¹Ô캯Ê


Ïà¹ØÎÊ´ð£º

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

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

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

execlÔõôµ÷ÓÃjava³ÌÐò - C/C++ / CÓïÑÔ

ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£

²»»á.

ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ

ËÑË÷Ï£ºjni ......

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Öж¨ÒåµÄ·½·¨ ......

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

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

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

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

¸ÕѧÍêCµÄ»ù´¡£¬ÇóÏÂÒ»²½ - C/C++ / CÓïÑÔ

ÎÒ¸Õ°ÑÌ·ºÆÇ¿µÄµÚÈý°æµÄÊéѧÍ꣬ÎÒÖªµÀµÄÓÐC++£¬CºÍÖ¸Õë CȱÏݺÍÏÝÚå Cר¼Ò±ä³É£¬»¹ÓÐÊý¾Ý½á¹¹£¬ÎÒÏëÎÊÎÊÎÒÓ¦¸ÃÒÔʲô˳ÐòÀ´Ñ§ÄØ
CȱÏݺÍÏÝÚå Cר¼Ò±à³Ì
Êǽø½×µÄ£¬²»Óü±×Å¿´
ÖÁÓÚ
CºÍÖ¸Õë 
Äã²»Àí½âÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ