»¹ÓжàÉÙÈËÊÇÖ±½ÓÓÃC±àд½çÃ棿 - C/C++ / CÓïÑÔ
˵˵ÎÒµÄÇé¿ö£º
´Ó±ÏÒµ½øÈ빫˾¿ªÊ¼£¬×öÁ˼¸¸öǶÈëʽ·½ÃæµÄÏîÄ¿£¬¶¼ÊÇÖ±½ÓÓÃC»æÖƽçÃæ¡£
ËäÈ»ÊÐÃæÉÏÒ²ÓÐMicrowindows¡¢MiniGUI¡¢QtµÈǶÈëʽ½çÃ棬µ«Êµ¼Ê¹¤×÷Öв¢Î´²ÉÓùý¡£
´ó¼ÒÔÚ×öǶÈëʽ½çÃæÊÇʲôÑù×ÓÄØ£¿
ûÓÐǶÈ룬²»ÖªµÀ¡£
Ò»Ñù£¬ÎÒÒ²ÊÇ×Ô¼ºÓÃcдguiµÄ£¬Èç¹ûÒªÒÆÖ²Ö÷Á÷µÄͼÐο⣬ÐèÒªºÄ·Ñ²»Éٿռ䣬ÏÖÔÚflash·Å²»Ï¡£½çÃæËäÈ»²»ÈçͼÐοâ×÷³öµÄºÃ¿´£¬µ«·´Ó¦¿ì£¬Ê¹ÓÃÄÚ´æС£¬¶øÇÒ×îÖØÒªµÄÊÇÕ¼ÓõĿռäС¡£
ºÇºÇ£¬ºÃÇ¿°¡~~~
Óô¿CÀ´»½çÃæ~
°ï¶¥£¡
ѧϰÁË
Ö»ÊÇ×ÜÊÇÕâÑù×Óд½çÃ棬̫ʹ¿àÁË£¬ºÇºÇ¡£
È¡¾öÓÚÄã²úÆ·µÄʵ¼Ê×´¿ö¡£
ÎÒÏÖÔÚ¹¤×÷ÖÐÒ²»ù±¾ÉÏËãÊÇ¡°Ö±½ÓÓÃCд½çÃæ°É¡±¡£¡£¡£
ÎÒÃÇÊÇ×öÓÎÏ·µÄ£¬ÖصÄÊdz¡¾°ºÍ½ÇÉ«µÄ¸ÅÄËùÒÔͨÓõÄGUIºÁÎÞÓô¦¡£¡£¡£
ËùÒÔÊǹ«Ë¾×Ô¼º¸ãµÄÒ»Ìײ»ÊǺܸ´ÔÓµÄÓÎÏ·ÒýÇ棬ҲËãÊdz䵱ÁËGUIµÄÒ»²¿·Ö¹¦ÄÜ°É¡£
ËäÈ»½ÏµÍ²ã£¬ÂÔÏÔÂé·³£¬µ«ÎÒÓÐʱҲ×öÕâÖÖ¡°ÄæÌ족ÐÐΪ¡£
¹ÛÉÍżµÄblog : http://blog.csdn.net/mydo/archive/2010/01/09/5166255.aspx
֮ǰÓÃC£¬ÏÖÔÚÍùqtת
ºÇºÇ¡¡ºÇºÇºÇ¡¡
×öɽկ»úMTK¿ª·¢µÄ¶¼ÊÇÓÃCÀ´Ð´½çÃæµÄ¡£ºÇºÇºÇ¡£
²»¹ýż²»ÊÇ×ö½çÃ沿·Ö¡£
˵µ½×ö½çÃæµÄ»°»¹ÊÇCocoa Framework×îºÃÓ㬺ǺÇ
ûŪ¹ý
ѧϰCÓïÑԵģ¬¿´Ï¡£
ÎÒÃǹ«Ë¾Ò²ÊÇÓÃCдµÄ¡£
¶ÔWindowsAPIºÍLinuxÒªÉîÈëÑо¿°¡£¡
{{----}
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
ÔÚ¸ùĿ¼/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Öж¨ÒåµÄ·½·¨ ......
ÎÒ¸Õ°ÑÌ·ºÆÇ¿µÄµÚÈý°æµÄÊéѧÍ꣬ÎÒÖªµÀµÄÓÐC++£¬CºÍÖ¸Õë CȱÏݺÍÏÝÚå Cר¼Ò±ä³É£¬»¹ÓÐÊý¾Ý½á¹¹£¬ÎÒÏëÎÊÎÊÎÒÓ¦¸ÃÒÔʲô˳ÐòÀ´Ñ§ÄØ
CȱÏݺÍÏÝÚå Cר¼Ò±à³Ì
Êǽø½×µÄ£¬²»Óü±×Å¿´
ÖÁÓÚ
CºÍÖ¸Õë
Äã²»Àí½âÖ ......