C ÓïÑÔ±à³Ì————¾Ñé̸֮
1¡¢CÓïÑÔµÄÏîÄ¿ÄÚ´æ¹ÜÀíºÜÈÃÈËÍ·ÌÛ£¬×ÔʼÖÁÖÕÄãÒªÃ÷°×ÄÄЩÄÚ´æÓ¦¸ÃÒªÊÍ·Å£¬ÄÄЩµ½×îºó²ÅÄÜÊÍ·Å£¬²»È»µÄ»°£¬¾Í»á³öÏÖһЩ¶Ñ±»ÆÆ»µµÄ´íÎó
2¡¢Ã¿Ð´Ò»¸öº¯ÊýÒ»¶¨Òª¼ÇµÃдËüµÄ²âÊÔ³ÌÐò£¬²»¹ÜÄǸöº¯Êý¼òµ¥µÄ»¹ÊǸ´ÔÓ£¬²»È»µÄ»°£¬µ½×îºó»áæËÀÄ㣬ÓÐʱ»¹»á·¸Ò»Ð©µÍ¼¶µÄ´íÎó¡£Õâ¸ö½ÌѵÎҾͷ¸¹ý£¬Ð´ÁËÒ»´ó¶ÑUtility¹¤¾ßº¯Êý¿â£¬Ò»¸ö¶¼Ã»ÓвâÊÔ£¬µ½ÁË×îºóÓõÄʱºò£¬´ó²¿·Ö´íÎó¶¼Êdzö×ÔÕâÀï¡£
3¡¢Õë¶ÔһЩ¸´ÔӵĹؼüµÄÈÝÒ×·¸´íÎóµÄµØ·½Ð´Ò»Ð©LOGÐÅÏ¢£¬ÆÁÄ»ºÍÎļþÊä³öÁ½ÖÖ·½Ê½ÏÔʾ³öÀ´£¬ÕâÀïÎÞÂÛÓÃVCµÈIDE¹¤¾ß£¬»¹ÊÇ´¿GCC¹¤¾ß¶¼ÊǺܺýøÐе÷ÊԵġ£½¨ÒéÓÃlog4cµÈһЩ¿ªÔ´¹¤¾ß½øÐÐLOG¡£
4¡¢ÔÚ¶Ô³ÌÐò½øÐе÷ÊÔʱ£¬²ÉÓÃÅųý·¨£¬¶þ·Ö·¨£¬¿ÉÒÔºÜ¿ìµØÕÒ³ö³ÌÐòÖеĴíÎó¡£
ÎÄÕ³ö´¦£ºDIY²¿Âä(http://www.diybl.com/course/3_program/c++/cppsl/2008121/96901.html)
Ïà¹ØÎĵµ£º
CRT (C run-time library)
Ò» ²úÉú
ÔËÐÐʱ¿âÊdzÌÐòÔÚÔËÐÐʱËùÐèÒªµÄ¿âÎļþ£¬Í¨³£ÒÔLIB»òDLLÐÎʽÌṩ¡£
CÔËÐÐʱ¿â¾ÍÊÇC run-time library£¬µ®ÉúÓÚ20ÊÀ¼Í70Äê´ú£¬ÊÇC¶ø·ÇC++ÓïÑÔÊÀ½çµÄ¸ÅÄC³ÌÐòÔËÐÐʱÐèÒªÕâЩ¿âÖеĺ¯Êý¡£
C ÓïÑÔÊÇËùνµÄ“СÄں˔ÓïÑÔ£¬¾ÍÆäÓïÑÔ±¾ÉíÀ´ËµºÜС£¨²»¶àµÄ¹Ø¼ü×Ö£¬³ÌÐòÁ÷³Ì¿ØÖÆ£ ......
typedef struct StackNode
{
ElemType data;
StackNode *next;
)StackNode, *LinkType; &nb ......
ǰÑÔ:ÕâÒ»ÕÂÎÒÃÇÌÖÂÛÒ»ÏÂLinuxϵÄÐźŴ¦Àíº¯Êý.
LinuxϵÄÐźŴ¦Àíº¯Êý:
1.ÐźŵIJúÉú
2.ÐźŵĴ¦Àí
3.ÆäËüÐźź¯Êý
--------------------------------------------------------------------------------
Ò»¸öʵÀý
1¡£ÐźŵIJúÉú ......
stroul£¬
strdup
snprintf()
atio
CÖг£ÓÃ×Ö·û´®²Ù×÷º¯Êý
#include <string.h>
size_t strlen(const char *s) ²âÁ¿×Ö·û´®³¤¶ÈsµÄʵ¼Ê³¤¶È¡£
ÀýÈçs[20]="abc",ÄÇôstrlen(s)µÄ½á¹ûÊÇ3£¬¶ø²»ÊÇ20.Õâ¾ÍÊÇʵ¼Ê³¤¶È
char *strcat(const char *s1, const *s2) ......
CentOs5°²×°apacheµÄʱºò
#./configure
(ÓÚ¼ì²éϵͳÊÇ·ñÓбàÒëʱËùÐèµÄ¿â£¬ÒÔ¼°¿âµÄ°æ±¾ÊÇ·ñÂú×ã±àÒëµÄÐèÒªµÈ°²×°ËùÐèÒªµÄϵͳÐÅÏ¢¡£ÎªËæºóµÄ±àÒ빤×÷×ö×¼±¸¡£)
Ìáʾ´íÎóÈçÏÂ:£¨Ã»ÓÐGCC±àÒëÆ÷»·¾³£©
checking build system type... i686-pc-linux-gnu
checking host system type.. ......