ANSI C Óë K&R C
CÓïÑÔÓÉDennis M. RitchieÔÚ1973ÄêÉè¼ÆºÍʵÏÖ¡£´ÓÄÇÒÔºóʹÓÃÕßÖð½¥Ôö¼Ó¡£µ½1978ÄêRitchieºÍBellʵÑéÊÒµÄÁíһλ³ÌÐòר¼ÒKernighanºÏдÁËÖøÃûµÄ¡¶The C Programming Language¡·£¬½«CÓïÑÔÍÆÏòÈ«ÊÀ½ç£¬Ðí¶à¹ú¼Ò¶¼³öÁËÒë±¾£¬¹úÄÚÓÐһЩCÓïÑÔÊé¾ÍÊÇÕâ±¾ÊéµÄ·Òë»òÕß±àÒë¡£ÓÉÕâ±¾Ê鶨ÒåµÄCÓïÑÔºóÀ´±»ÈËÃdzÆ×÷ K&R C¡£
Ëæ×ÅCÓïÑÔʹÓõÃÔ½À´Ô½¹ã·º£¬³öÏÖÁËÐí¶àÐÂÎÊÌ⣬ÈËÃÇÈÕÒæÇ¿ÁÒµØÒªÇó¶ÔCÓïÑÔ½øÐбê×¼»¯¡£Õâ¸ö±ê×¼»¯µÄ¹¤×÷ÔÚÃÀ¹ú¹ú¼Ò±ê×¼¾Ö£¨ANSI£©µÄ¿ò¼ÜÖнøÐУ¨1983-1988£©£¬×îÖÕ½á¹ûÊÇ1988Äê10Ô°䲼µÄANSI±ê×¼X3.159-1989£¬Ò²¾ÍÊǺóÀ´ÈËÃÇËù˵µÄANSI C±ê×¼¡£ÓÉÕâ¸ö±ê×¼¶¨ÒåµÄCÓïÑÔ±»³Æ×÷ANSI C¡£
ANSI C±ê×¼ºÜ¿ì±»²ÉÄÉΪ¹ú¼Ê±ê×¼ºÍ¸÷¹úµÄ±ê×¼¡£¹ú¼Ê±ê׼ΪISO/IEC 9899-1990£¬Öйú¹ú¼Ò±ê×¼GB/T 15272-94Êǹú¼ÊISO±ê×¼µÄÖÐÎÄ·Òë¡£
ANSI C±ê×¼»¯¹¤×÷µÄÒ»¸öÖ÷ҪĿ±êÊÇÇå³ýÔÀ´CÓïÑÔÖеIJ»°²È«¡¢²»ºÏÀí¡¢²»¾«È·¡¢²»ÍêÉƵĶ«Î÷¡£ÓÉ´ËÒ²²úÉúÁËANSI CÓëK&R CÖ®¼äµÄ²îÒì¡£´Ó×ÜÌåÉÏ¿´£¬ÕâЩ²îÒì·´Ó¦µÄÊÇCÓïÑÔ×ßÏòÍêÉÆ¡¢×ßÏò³ÉÊì¡£
ANSI C ¶Ô K&R C µÄÐÞ¶©
£¨±¾¶Î¸ù¾Ý¡¶C Programming Language¡·ºÍCÓïÑÔ±ê×¼ÕûÀí¡£²»ÇóÍêÕû£¬Ï£ÍûÁгö×î³£¼ûµÄ²îÒ죩
¶ÔÓÚÔ´ÎļþÄÚ²¿µÄ±êʶ·û£¬ÓÐЧµÄ×îС³¤¶ÈÀ©³äµ½31¸ö×Ö·û¡£Îļþ¼äÁ¬½Óʱ£¬±êʶ·ûµÄ×îСÓÐЧ³¤¶ÈÈÔȻΪ6¸ö×Ö·û¡££¨Ðí¶àʵÏÖ¶¼Ö§³Ö¸ü´óµÄ³¤¶È£©
Ôö¼ÓÁ˼¸¸öйؼü×Ö£ºvoid£¬const£¬volatile£¬signed£¬enum¡£Å×ÆúÁËÀϹؼü×Öentry¡£
ÔÚ»»Òâ×Ö·û \ Ö®ºóд·Ç¹æ¶¨µÄÐòÁУ¬Æä×÷ÓÃÈ·¶¨ÎªÎÞ¶¨Òå¡£
¹æ¶¨8ºÍ9¶¼²»Êǰ˽øÖÆÊýµÄºÏ·¨×Ö·û¡£
Òý½øÁËÊýµÄºó׺×Ö·û£ºÕûÊýµÄUºÍL£¬¸¡µãÊýµÄFºÍL¡£
¹æ¶¨Á¬Ðø³öÏÖµÄ×Ö·û´®³£Á¿½«±»Æ´½ÓÔÚÒ»Æð¡£
Òý½øÁË“¿í×Ö·û”µÄ¸ÅÄî¡£
½«×Ö·ûҲȷ¶¨Îª´ø·ûºÅ£¨signed£©ºÍ²»´ø·ûºÅ£¨unsigned£©µÄ¡£
¶ªÆúÁËlong float£¨ÔÀ´×÷ΪdoubleµÄͬÒå´Ê£©¡£
ÒýÈëÁËvoidÀàÐÍ£¬Óà (void*) ±íʾͨÓÃÖ¸ÕëµÄÀàÐÍ£¨¹ýÈ¥ÈËÃÇͨ³£Óà (char*)£©¡£
¶ÔËãÊõÀàÐ͹涨ÁË×îС±íʾ·¶Î§¡£ÒªÇóÿ¸öCÓïÑÔϵͳÓÃÍ·Îļþ£¨<limits.h>ºÍ<float.h>£©ËµÃ÷ʵÏÖÖеľßÌå¹æ¶¨¡£
Òý½øÁËö¾Ù¶¨Òåenum¡£
²ÉÓÃÁËÀ´×ÔC++µÄÀàÐÍÐÞÊηû£¬Èçconst¡£
¹æ¶¨×Ö·û´®³£Á¿ÊDz»¿ÉÐ޸ĵġ£
¸Ä±äÁËËãÊõÀàÐ͵ÄÒþº¬×ª»»¹æÔò¡£
ɾȥÁËһЩ¹ýʱ¸³ÖµÔËËã·û£¬Èç =+¡£¹æ¶¨¸³ÖµÔËËã·û¶¼ÊÇ»ù±¾µ¥´Ê£¬Èç += Ö®¼ä²»ÄÜÓпոñ·Ö¸ô¡£
Òý½øÁËÓëÒ»Ôª - ÔËËã·û¶ÔÓ¦µÄÒ»Ôª + ÔËËã·û¡£
Ïà¹ØÎĵµ£º
Ç°ÃæµÄÎÄÕ¡¶´î½¨»ùÓÚ NetBeans µÄ OpenGL ¿ª·¢»·¾³¡·Ìáµ½ÁË NetBeans ºÍ MinGW µÄÅäÖ㬵±Ê±¼ÇµÃºÃÏñÒÔǰд¹ý²½Ö裬¾ÍËæÊÖÂÔ¹ýÁË¡£½ñÌìÊÕµ½ÍøÓѵÄÌáÐѲŷ¢ÏÖÊÇÎҼǴíÁË£¬ÔÚÕâÀï²¹ÉÏ£¬Í¬Ê±Ð»Ð»Ä㣡
¡¡¡¡²½ÖèÈçÏ£º
ÏÂÔØ×Ô¶¯ MinGW °²×°³ÌÐò£¬Õâ¶Ô³õѧÕßÀ´ËµÊDZȽϷ½±ãµÄ·½Ê½£¬È±µã¾ÍÊÇÏÂÔØËÙ¶ÈÂýµÃ²»ÈçÎÏÅ£¡£
ÔËÐ ......
×÷Ò»¸ötcpµÄ·þÎñ³ÌÐò£¬Í¬Ê±¿ÉÄÜÓдóÁ¿µÄ¿Í»§¶ËÁ¬ÉÏÀ´£¬Ï£Íû·Ö±ð¼Çס¸÷¸ösocket
ËÓÐÊý¾Ý¹ýÀ´£¬¾Í¶Á³öÀ´£¬·Åµ½Ò»¸öÇëÇó¶ÓÁУ£ÕâЩÊÂÇéÓÃÒ»¸öÏß³ÌÍê³É
ÁíÍâÓÐÒ»¸ö½á¹û¶ÓÁУ¬Èç¹û½á¹ûÀï°üº¬ÁËsocketµÄ±àºÅ£¬ÓÃÒ»¸öÏß³ÌרÃÅ£º
È¡³öÀ´°´±àºÅÕÒ»ØÔÀ´·¢ËÍÕßsocket£¬·¢»Ø¸øÔÀ´µÄ¿Í»§¶Ë
»¹ÓÐÒ»¸ö¾ÍÊÇ´¦ÀíÏ ......
write by ¾ÅÌìÑãôá(JTianLing) -- blog.csdn.net/vagrxie
ÌÖÂÛÐÂÎÅ×é¼°Îļþ
Technorati ±êÇ©: JAVA
,C++
,Python
JAVA is not just another programming language. -- ÄäÃû
ѧϰ¸üеÄÓïÑÔ£¬ÓÐÖúÓÚÁ˽â±ðÈ˶ԾÉÓïÑÔÓÐÄÄЩ²»Âú¡£ -- ÄäÃû
Ç°ÑÔ
ÏÈ
˵Ã÷±¾ÎĵÄÐÐÎÄÏ°¹ß£¬ÎÄÕÂд×÷Á÷³ÌÒÔ±¾ÈËÔĶÁ¡¶Java Progra ......
Ö»ÊÇÓÐÈËÇ£É浽д³ÌÐòµÄ,ÎÒ¾Í˵˵.Å®Ö÷½ÇÈç¹û²»³öÀ´³ÎÇå¾ÍÒ»±²×Ó±»»ÙÁË.У·çÑϽ÷µÄÇ廪ҲÓÐÕâÖÖÀÄSµÄÐÐΪÓе㲻¿É˼Òâ.ÕÒ³ÌÐòԱд×÷ÒµÖ»ÊǸö·ÖÊֵĽè¿Ú°É.Å®Ö÷½Ç»¹Â÷ÇåÐãµÄ.³öÀ´ÌÖÕ®µÄ"Ô©´óÍ·"ÆäʵҲ²»ÀíÖÇ,»ÙÁËÇ°Å®ÓѵÄÐÒ¸£ºÜºÃÂð?
µ«Ô¸CÓïÑÔÃÅÖ»ÊǸöÓéÀÖ ......
Windows C ¶àÏ̱߳à³ÌµÄ¿âÖ§³Ö
Ïß³ÌʵÖÊÉÏÊdzÌÐòÖеÄÖ´Ðз¾¶¡£Ò²ÊÇ Win32 °²ÅŵÄ×îСִÐе¥Ôª¡£Ḭ̈߳üÀ¨¶ÑÕ»¡¢CPU ¼Ä´æÆ÷µÄ״̬ºÍϵͳ¼Æ»®³ÌÐòÖ´ÐÐÁбíÖеÄÏÿ¸öÏ̹߳²ÏíËùÓнø³ÌµÄ×ÊÔ´¡£
½ø³Ì°üÀ¨Ò»¸ö»ò¶à¸öÏ̺߳ʹúÂë¡¢Êý¾ÝºÍÄÚ´æÖеÄÆäËû³ÌÐò×ÊÔ´¡£µäÐ͵ijÌÐò×ÊÔ´ÊÇ´ò¿ªµÄÎļþ¡¢ÐźŵƺͶ¯Ì¬·ÖÅäµÄÄÚ´æ¡£µ±ÏµÍ³¼Æ» ......