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

C++Builder6Öпª·¢CÎÊÌâ - C/C++ / CÓïÑÔ

NÄêǰѧ¹ýC,µ«Ò»Ö±²»ÊÇÓÃC¿ª·¢,ÏëÖØÐÂÈÏʶһÏÂC.ÎÒÔÚC++Builder6ÖÐCÔËÐкóΪʲôûÓпØÖÆ̨Êä³ö?»¹ÓÐΪʲôûÉú³É¿ÉÖ¸ÐÐÎļþ.¾ÍÒ»¸öhello¶¼²»ÄÜÊä³ö(¿ØÖÆ̨).¿ØÖÆ̨¸ù±¾²»ÏÔʾ...
Ï£ÍûÖªµÀµÄ½øÀ´ËµÒ»ÏÂ.лл...

ûÓùýc++builder,°ï¶¥

ÎÒҲûÓùý,°ïÏî

Ê×ÏÈÈ·¶¨ÄãµÄ¹¤³ÌÀàÐÍÊÇconsole
Æä´Î¿ÉÒÔÔÚreturn 0֮ǰÊÔÊÔsystem("pause");
×îºóÖ»ÒªÓÐÕýÈ·Éú³Éexe£¬ÊÇ¿ÉÒÔÔÚ¹¤³ÌĿ¼»òÕßCBµÄϵͳĿ¼ÀïÕÒµ½Õâ¸öexeµÄ
Äã¿ÉÒÔÖ±½ÓÖ´ÐÐÖ®»òÕßÔÚcmd´°¿ÚÖÐÖ´ÐÐ


ÓÃVC6°É...

Â¥Ö÷µ½ÏîÄ¿µÄĿ¼Ï¿´¿´ÊÇ·ñÕæµÄûÓÐ.exeÎļþµÄÉú³É£¬
Èç¹ûûÓеĻ°£¬Ö»ÓÐÁ½ÖÖÇé¿ö£¬Ò»£¬³ÌÐò±àÒëûͨ¹ý£¬¶þ£¬Ð½¨ÏîÄ¿µÄʱºò£¬ÀàÐͲ»¶Ô

³ÌÐò×îºó¼Ó¾ägetch();°É


Ïà¹ØÎÊ´ð£º

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

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

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

VFPÈçºÎµ÷ÓÃCº¯Êý - ÆäËûÊý¾Ý¿â¿ª·¢ / VFP

ÇëÎÊVFPÖÐÈçºÎµ÷ÓÃC/C++º¯Êý£¿

ÄãÒªµ÷ÓÃʲô¹¦Äܵĺ¯Êý£¿Òª¿´¿´VFPÖÐÓÐûÓжÔÓ¦µÄº¯Êý£¬Èç¹ûÓоÍÊ¡×ÅÔÙµ÷ÓÃÁË¡£Èç¹ûûÓУ¬¿ÉÒÔ½«C/C++º¯Êýд¸öDLL»òFLL£¬È»ºóÔÚVFPµ÷Óü´¿É¡£

Ê®¶¹Èý ÀÏʦ£¬Ôõô²ÅÄÜÐÞ¸Ä×Ô¼ºµÄ ......

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

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

²»»á.

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

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

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

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

Ϊʲôxml²»ÄÜÏÔʾ°¢À­²®ÎÄ - C/C++ / C++ ÓïÑÔ

ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À­²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎĶ¼¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À­²®ÎĵÄ×Ö¿âÄãÓÐô£¿

ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ