Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C 1X ÐÂÔöÌØÐÔ


C1XÊÇCÓïÑÔ¼´C99±ê×¼Ö®ºó½«ÒªÍƳöµÄ×îбê×¼£¬Á˽⵽µÃÔ­ÎÄÈçÏ£º
C1X is the unofficial name of the planned new standard for the C programming language. It is intended to replace the existing C standard. This predecessor is informally known as C99. The standard is not yet finalized. The most recent working draft, N1425, was published in November 2009.
The November 2009 draft includes several changes to the C99 language and library specifications, such as:
Alignment specification (_Align specifier, alignof operator, aligned_alloc function)
Multithreading support (_Thread_local storage-class specifier, <threads.h> header including thread creation/management functions, mutex, condition variable and thread-specific storage functionality)
Improved Unicode support (char16_t and char32_t types for storing UTF-16/UTF-32 encoded data, including the corresponding u and U string literal prefixes and conversion functions in <uchar.h>)
Removal of the gets function
Bounds-checking interfaces (Annex K)
Analyzability features (Annex L)
Some[who?] are critical about the addition of multithreading to the C programming language. Many[who?] may argue that thread locking isn't necessary and shouldn't be encouraged. The type names proposed (cnd_t, thrd_t, tss_t, mtx_t, tss_dtor_t) may also be considered inappropriately obscure by some.
×ܽáÒ»ÏÂÖ÷ÒªÓÐÏÂÃæ¼¸µã£º
1¡¢ÐÂµÄ¶ÔÆë¹æ·¶
2¡¢¶àÏ̵߳ÄÖ§³Ö
3¡¢UnicodeÖ§³Ö
4¡¢ÒƳýgetsº¯Êý
5¡¢±ß½ç¼ì²âµÃÖ§³Ö
6¡¢·ÖÎöÐÔ¹¦ÄÜ
±È½Ï¸ÐÐËȤµÄʶàÏß³ÌÖ§³ÖºÍUnicodeµÄÖ§³Ö¡£


Ïà¹ØÎĵµ£º

CÁ¬½ÓPostgreSQLʾÀý

²Î¿´www.pgsqldb.orgÍøÕ¾ÉϵÄÎĵµ/¿Í»§¶Ë±à³Ì  
  ÐèÒªÁ´½Ólibpq¿â,Ó¦°üº¬Í·Îļþinclude/libpq-fe.h  
  ·¾¶Òª¿´Äã¾ßÌ彫postgresql°²×°ÔÚÄÄÀïÀ²  
  ¸øÄãÒ»¸ö¾ßÌåÀý×Ó°É(´Ówww.pgsqldb.orgÉÏcopyµÄ)!!!  
   
   
&nb ......

C/C++ÖÐ×óÖµºÍÓÒÖµµÄ²î±ð

ÎÒÃdz£ËµµÄ×óÖµlvalueºÍÓÒÖµrvalue²¢²»¼òµ¥µØÒâζ×Å×óÓÒÇø±ð£¬ËüµÄԭʼ¶¨ÒåÈçÏ£º
Definition:
C and C++ have the notion of lvalues and rvalues associated with
variables and constants. The rvalue is the data value of the variable,
that is, what information it contains. The "r" in rvalue can ......

extern C µÄ×÷ÓÃ

extern "C" ÊÇ C++ ±àÒëÆ÷Ö§³ÖµÄÒ»ÖÖÁ´½Óָʾ·û£¨linkage directive£©£¬Ëü±íʾÓÉÆäÉùÃ÷µÄº¯ÊýʹÓà C ÓïÑԵķ½Ê½±àÒëºÍÁ´½Ó¡£
C ºÍ C++ ¶Ôº¯Êý±àÒëºó²úÉúµÄ·ûºÅÃûÊDz»Ò»ÑùµÄ¡£¼ÙÉèÒ»¸öº¯ÊýµÄÔ­ÐÍΪ:
void foo(int x, int y);
ÓÉ C ±àÒëÆ÷±àÒëºó²úÉúµÄ·ûºÅÃûΪ _foo£¬¶ø C++ ÓÉÓÚÖ§³ÖÖØÔØµÄÐèÒª£¬±àÒëºóµÄ·ûºÅà ......

cµÄ¹ØÓÚÊý×é³õʼ»¯ ºÍ memsetÓ÷¨

½ñÌìΪÁ˳¹µ×¸ã¶¨Ò»¸ö¹ØÓÚcÖÐÊý×é³õʼ»¯ºÍÉùÃ÷²»Í¬Çé¿öÏ£¬±ÈÈçÖ»ÉùÃ÷Ò»¸öÊý×échar str[20];ÄÇôÕâstrÀïÃæÊÇʲôÄÚÈÝÄØ£¿ÎÒÓÃvc6++£¬debugÏ¿´µ½¶¼ÊÇ-56¶öascÂ룬ºóÀ´Çë½ÌÁËÒ»¸ö»ªÎªµÄ´óÅ££¬Ëû˵ °´ÕÕÀíÂÛÀ´ËµÀïÃæµÄÄÚÈݶ¼ÊÇÓпÉÄܵģ¬ÕâºÍ½Ð×ö“ÔàÄÚ´æ”»òÕß½Ð×ö“Ò°Êý×锡£ºÃÁ˵ÚÒ»¸öÎÊÌâ¸ã¶®ÁË¡£
......

Code::Blocks Âú×ãÄãÈκοÁ¿ÌµÄÒªÇóµÄC/C++ IDE


     Code::BlocksÊÇÒ»¸öÃâ·Ñ¡¢¿ªÔ´¡¢¿çƽ̨µÄIDE£¬Ê¹ÓÃC++¿ª·¢£¬²¢ÇÒʹÓÃwxWidgets×öΪGUIº¯ÊÔ¿â¡£Code::BlocksʹÓÃÁ˲å¼þ¼Ü¹¹£¬Æä¹¦ÄÜ¿ÉÒÔʹÓòå¼þ×ÔÓɵØÀ©³ä¡£Ä¿Ç°£¬ 
Code::BlocksÖ÷ÒªÕë¶Ô¿ª·¢C£¯C++³Ìʽ¶øÉè¼Æ¡£
ÓÉÓÚËü¿ª·ÅÔ´ÂëµÄÌØµã£¬WindowsÓû§¿ÉÒÔ²»ÒÀÀµÓÚVS.NET£¬±àд¿çƽ̨C++Ó¦Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ