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();°É
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
ÇëÎÊVFPÖÐÈçºÎµ÷ÓÃC/C++º¯Êý£¿
ÄãÒªµ÷ÓÃʲô¹¦Äܵĺ¯Êý£¿Òª¿´¿´VFPÖÐÓÐûÓжÔÓ¦µÄº¯Êý£¬Èç¹ûÓоÍÊ¡×ÅÔÙµ÷ÓÃÁË¡£Èç¹ûûÓУ¬¿ÉÒÔ½«C/C++º¯Êýд¸öDLL»òFLL£¬È»ºóÔÚVFPµ÷Óü´¿É¡£
Ê®¶¹Èý ÀÏʦ£¬Ôõô²ÅÄÜÐÞ¸Ä×Ô¼ºµÄ ......
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......
´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......
ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎĶ¼¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À²®ÎĵÄ×Ö¿âÄãÓÐô£¿
ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......