ÐÂÊÖÎʸölinuxÏÂдC++³ÌÐòµÄÎÊÌ⣬¸ßÊÖÃDZðЦ»°
±¾È˸ոÕÔÚÐéÄâ»úÉÏ×°Á˸öubuntuϵͳ£¬ÏëÎÊÏÂÎÒҪдC++³ÌÐò²¢±àÒëÔËÐеĻ°¸ÃÔõô×ö£¬ÊÇҪϸö±àÒëÆ÷»¹ÊÇ¿ÉÒÔÖ±½Óд¡£
ÇëÄÄλ¸ø¸ö²½ÖèÈÃÎÒÄÜÔËÐиöhello world³ÌÐò£¬²»Éõ¸Ð¼¤¡£
http://fanqiang.chinaunix.net/program/c++/2005-03-21/2951.shtml
µÚ¶þ²½£¬Â¥Ö÷¿ÉÒÔ»»³É×Ô¼ºÏµÍ³ÉϵÄÎı¾±à¼Æ÷¡¡
ÔËÐÐÃüÁîvim£»È»ºó±àд£»±£´æ£»½Ó×ÅÊÇgccÃüÁîµ÷ÊÔ£»
gcc file.cpp ¼´¿É±àÒë.
ubuntuĬÈÏ´ø²»´øgccÎÒ²»ÖªµÀ
ÄãÔÚÃüÁîÌáʾ·ûÏ´ògcc -v¿´¿´¾ÍÖªµÀÁË£¬Èç¹ûÓеĻ°£¬ÄÇô»á´òÓ¡gcc³ö°æ±¾ÐÅÏ¢
»ØÂ¥ÉÏ£¬´øµÄ¡¡
ubuntuºÜºÃÍæ¶î£¬ËÄÂ¥µÄ˵µÄ²»´í¶î£¬g++±àÒëòËÆÓеãÂý¡¡
ѧϰ
Ïà¹ØÎÊ´ð£º
QQȺ 29152388
ÓÑÇéUP
°ï¶¥
up
°ïup
up Ö§³Ö£¡
up jf
...ÄѵÀÓзÖ..?
up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£
Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ
¼ÓÁË¡£
¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......
C\C++ÈçºÎ¼ÆË㺯ÊýµÄµ¼Êý,±¾ÈËÐÂÊÖ£¬Ïëд¸ö³ÌÐò£¬µ«ÊDz»ÖªµÀÈçºÎÏÂÊÖ£¬»¹Íû¸ßÊÖÖ¸µãÒ»¶þ£¬Ð»¹ý¡£
Õâ¸ö¡¡
¸úº¯ÊýµÄ¾ßÌåÐÎʽÓйذɣ¬ÄѵÀÄãÏë±à³ö¸ö¡°ÍòÄÜ¡±µÄÇ󵼺¯Êý£¿
°³ÉÏѧʱÏë¹ý×Ô¶¯ÍƵ¼¹«Ê½£¬ºóÀ´ ......
±àÒëÆ÷£ºC-Free4
mysql µ¥¶À°²×°µÄ£¬ÏÖÔÚΪapache+php+mysql¿ÉÒÔʹÓá£
×î½üÔÚÁ·Ï°c£¬c++£»ÏëÓÃc£¬c++Á¬½ÓÏÂÎÒµÄmysql£¬ºÃ¶àµØ·½¶à˵mysql.hÕÒ²»µ½¡£¶øÇÒÎÒmysqlûÓÐËùνµÄincludeÎļþ¼Ð°¡¡£
Íü¸ßÊÖÖ¸µãÒ»¶ ......
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
ÎÒÄ¿Ç°ÔÚ±¾µØµÄlinuxÉÏдÁËÒ»¸öswingµÄ½çÃ棬Ïëͨ¹ýÕâ¸ö½çÃæÀ´¿ØÖÆÆäËüµçÄÔµÄlinuxÖØÆô¡£
ÎÒÖªµÀÓÃRuntime.getRuntime().exec("shutdown -r");¿ÉÒÔ¿ØÖƱ¾»úLinuxÖØÆô£¬µ«ÊÇÔõô¿ØÖÆÔ¶³ÌµÄlinuxÖØÆôÄØ£¿ ......