LinuxÓÃʲô½øÐÐC/C++±à³Ì - C/C++ / C++ ÓïÑÔ
СµÜÔÚ×Ô¼ºµçÄÔÉÏ×°Á˸öRedHat Linux5
ÇëÎʸÃÓÃʲô½øÐÐC/C++±à³Ì
ÊÇ×°±ðµÄʲôÈí¼þ»¹ÊÇÕ¦Õû£¿
ҪװÈí¼þµÄ»°°ÝÍиø¸öÏÂÔصØÖ· ¶àлÁË£¡
gcc×Ô´øµÄC±àÒëÆ÷¡£
g++ C++±àÒëÆ÷¡£
gcc ±àÒëC¿ÉÒÔ×Ô¼ºÓ㬲»ÓÃװʲô¶«Î÷ÁË¡£
g++ ºÃÏñ²»ÄÜÖ±½ÓÓá£
ÄãÊÔÒ»ÊÔ¡£
ÇëÎÊÓÐûÓÐÏñVC6.0ÄÇÖÖ·½±ãµÄ±àÒëÆ÷²»£¿
http://topic.csdn.net/u/20100530/13/ca911c06-e217-418a-85ff-155e99273f2f.html?15374
ÎÒ¶¼»Ø¹ý¼¸´ÎÁË Çë²»ÒªÔÚÎÒÕâ´ò¹ã¸æÐв»£¿ÎÒллÁË ´ó¸ç
¸øÄãÍƼö¸ö±àÒëÆ÷¡£
Code::Blocks
°¥¡£¡£¡£
»¹×°ºìñ¡£¡£¡£
Ŷ ллÁË ÎÒÊÇÔÚÐéÄâ»úÉÏ×°µÄRedHat Linux5¶î
CodeliteÒ²²»´í£¬Ïà¶ÔÓÚCode::Blocks£¬ËüµÄ´úÂë×Ô¶¯Ìáʾ¹¦ÄܺöàÁË¡£
eclipse + CDT °É¡£
ºÜºÃÓá£<
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
±¾ÈËÕýÔÚÓÃJava×öÒ»¸öC/S¼Ü¹¹µÄÏîÄ¿£¬
¿ÉÊÇÓÉÓÚÏîÄ¿±È½Ï´ó£¬Ç°ÆڶԼܹ¹µÄÉè¼ÆÓÈÆäÖØÒª£¬ÒòΪºóÆÚ¿ÉÄÜËæʱ»á¼Ó¸ö¹¦ÄÜ»òÕßÈ¥µôijЩ¹¦ÄÜ¡£
ËùÒÔÌصØÑ°ÇóÈçºÎÉè¼ÆC/SµÄ¼Ü¹¹Ê¹³ÌÐò¸ü¼ÓÃæÏò¶ÔÏó¸ü¼ÓÒ×ÓÚά ......
visual c++2008Ëٳɰ棬²»ÄܱàÒëC³ÌÐòÂð£¿Èç¹ûÄÜÊÇÔõô¿ªÊ¼µÄ°¡£¿ÓÃËü´øµÄÃüÁîÌáʾµ¥Ôª³ýÍâ ¡£
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆ̨£©
¾ø¶Ô¿ÉÒÔ¡£½¨Á¢win32¿ØÖÆ̨³ÌÐò¾Í¿ÉÒÔ
ÒýÓÃ
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆ̨£ ......
ÎÒ¸Õ°ÑÌ·ºÆÇ¿µÄµÚÈý°æµÄÊéѧÍ꣬ÎÒÖªµÀµÄÓÐC++£¬CºÍÖ¸Õë CȱÏݺÍÏÝÚå Cר¼Ò±ä³É£¬»¹ÓÐÊý¾Ý½á¹¹£¬ÎÒÏëÎÊÎÊÎÒÓ¦¸ÃÒÔʲô˳ÐòÀ´Ñ§ÄØ
CȱÏݺÍÏÝÚå Cר¼Ò±à³Ì
Êǽø½×µÄ£¬²»Óü±×Å¿´
ÖÁÓÚ
CºÍÖ¸Õë
Äã²»Àí½âÖ ......
A±í ÓÐÁ½¸ö×Ö¶Î
id ΨһÊý×ÖÓò
InfoTxt text ÀàÐÍ
ÎÒÏÖÔÚÒª°Ñ id ²»ÊÇ14 µÄËùÓÐ InfoTxt×ֶΠÎı¾ºóÃæ ¶¼¼ÓÉÏ 'aaa'
°´ÏÂÃæÖ´ÐÐÏÂÀ´ Ö»Óбí×îºóÒ»ÐмÓÉÏÁË 'aaa' ......