C Runtime LibraryÀ´Àú, API, MFC, ATL¹Øϵ
CRTÔÏÈÊÇÖ¸Microsoft¿ª·¢µÄC Runtime Library£¬ÓÃÓÚ²Ù×÷ϵͳµÄ¿ª·¢¼°ÔËÐС£ºóÀ´ÔÚ´Ë»ù´¡ÉÏ¿ª·¢ÁËC++
Runtime Library£¬ËùÒÔÏÖÔÚCRTÊÇÖ¸Microsoft¿ª·¢µÄC/C++ Runtime
Library¡£ÔÚVCµÄCRT/SRCĿ¼Ï£¬¿ÉÒÔ¿´µ½CRTµÄÔ´Â룬²»½öÓÐCµÄ£¬Ò²ÓÐC++µÄ¡£
CRTÔÏȵÄÄ¿µÄ¾ÍÊÇÖ§³Ö²Ù×÷ϵͳµÄÔËÐС£ÒòΪWindows²Ù×÷ϵͳ³ý»ã±à²¿·ÖÍ⣬¶¼ÊÇÓÃC/C++±àдµÄ£¬ËùÒÔÄں˼°Ðí¶à¹Ø¼ü·þÎñ¶¼ÔÚCRTÉÏÔËÐÐ
£¨ËüÃǶ¼²ÉÓÃdll¼¼Êõ¶¯Ì¬Á´½Ó£©¡£´ËÍ⣬ÓÃ
VC±àдµÄC/C++³ÌÐòÒ²Óõ½ËüÃÇ£¨¿ÉÒÔ¶¯Ì¬Á´½Ó£¬Ò²¿ÉÒÔ¾²Ì¬Á´½Ó£¬Ç°ÕßÔËÐÐʱÐèҪϵͳÖÐÒÑ°²×°CRTµÄdll£¬ºóÕß²»ÐèÒª£©¡£¿ÉÒÔ˵£¬CRT¾ÍÊÇ
Microsoft±àдWindowsʱʹÓõĵͲãÀà¿â¡£È»ºó£¬ËüÓÖ±»µ±×÷C++±ê×¼¿âµÄÒ»¸öʵÏÖ°üº¬ÔÚÁËVCϵÁÐÖУ»ÎÒÃÇÔÚVCÖÐʹÓõÄC++±ê×¼¿â£¬
Æäʵ¾ÍÊÇCRTµÄÒ»¸öÕæ×Ó¼¯£¨ÉÙÁËC++±ê×¼Ëù²»°üº¬µÄ´úÂ룬ÌرðÊÇ´óÁ¿µÄµÍ²ãC´úÂ룩
ÖÁÓÚCRTÓëWINDOWS
APIµÄ¹Øϵ£¬ÓëÐí¶àÈËÀí½âµÄÏà·´£¬WINDOWS
API×÷ΪWindowsµÄÒ»²¿·Ý£¬ÊÇÔÚCRTµÄ»ù´¡ÉÏ¿ª·¢µÄ¡£Äã¿ÉÒÔ½«Windows£¨¼°ÆäAPI£©¿´×÷Ò»¸öÏîÄ¿£¬¶øÕâ¸öÏîĿʹÓõÄÓïÑÔÊÇ»ã±à/C/C
++£¬Ê¹ÓõÄÀà¿â¾ÍÊÇCRT¡£ËùÒÔ£¬À뿪CRT£¬Windows APIÒ²ÎÞ·¨Ê¹Óõġ£
C++±ê×¼£¬ÊÇC++µÄͨÓÃÓïÑԹ淶£¬Ö¸µ¼ËùÓÐC
++ʹÓÃÕß¡£¶øCRTµÄÆäÖÐÒ»²¿·Ö¿ÉÒÔ¿´×÷ÊÇMicrosoft¿ª·¢µÄÒ»¸öC++±ê×¼¿âʵÏÖ£¨ÆäʵҲȷʵÈç´Ë£¬MicrosoftÔÚ¿ª·¢CRTʱ£¬²Î¿¼ÁË
ÕýÔÚ±ê×¼»¯¹ý³ÌÖеÄC++ÓïÑԹ淶£©¡£ËüÓëC++±ê×¼ÓÐÒ»¶¨µÄ²î¾à£¬²¿·ÖÔÒòÊÇ£¬ÔÚC++ûÓÐÍê³É±ê×¼»¯Ö®Ç°£¬CRTÒѾ¿ª·¢²¢Í¶ÈëʹÓÃÁË¡£ÎªÁËÏòϼæÈÝ
ÒÔÇ°µÄWindows´úÂ룬ÔçÆÚµÄCRTÓëC++±ê×¼×ÜÓÐÒ»¶¨µÄ²î¾à¡£µ«ÊÇCRTȷʵÔÚ²»¶ÏµÄ¸Ä½øÖС£VC6´øµÄCRTÓëC++±ê×¼»¹ÓбȽϴóµÄ²î¾à£¬¶ø
VC8µÄ¼¸ºõÍêÈ«·ûºÏC++±ê×¼ÁË¡£
×ÛÉÏ£¬CRT£¨Microsoft's C/C++ Runtime
Library£©µÄÒ»¸öÕæ×Ó¼¯£¨Ö÷ÒªÊÇC++ Runtime
Library£©ÊÇÒ»¸ö·ûºÏ£¨»òÖÁÉÙÊÇÆóͼ·ûºÏ£©C++±ê×¼µÄC++¿â¡£¶øWindows
API£¨ÒÔ¼°WindowsµÄÆäËûÐí¶à²¿·Ö£©¶¼ÊÇÔÚCRTµÄ»ù´¡ÉÏ¿ª·¢µÄ¡£
³ýÁËÒÔÉϽéÉܵģ¬ÔÚʹÓÃCRTµÄ¹ý³ÌÖУ¬»¹ÐèÒªÁ˽âµÄÊÇ£º
1¡¢CRTµÄһЩ×é³É²¿·ÖÒ²µ÷ÓÃÁËWindows API¡£Õâ¿ÉÄܾÍÊÇÓÐÈËÈÏΪCRTÊǽ¨Á¢µÄWindows
API»ù´¡ÉϵÄÔÒò¡£µ«ÊÇʵ¼ÊÉÏ£¬ÕâÒ»²¿·Ö°
Ïà¹ØÎĵµ£º
¶Ô¼¼ÊõÖ´×ŵÄÈË£¬±ÈÈç˵ÎÒ£¬ÍùÍù¶ÔһЩÎÊÌ⣬²»½öÏë×öµ½“ÖªÆäÈ»”£¬»¹Ïë×öµ½“ÖªÆäËùÒÔÈ»”¡££ÃÓïÑÔ¿Éν²©´ó¾«É¼´Ê¹ÎÒÒѾÓжàÄêµÄ¿ª·¢¾Ñ飬¿É»¹ÊÇÓÐÐí¶àÎÊÌâ²»ÖªÆäËùÒÔÈ»¡£Ä³ÌìijµØijÈËÎÊÎÒ£¬£ÃÓïÑÔÖк¯Êý²ÎÊýµÄÈëջ˳ÐòÈçºÎ£¿´ÓÓÒÖÁ×ó£¬ÎÒËæ¿Ú»Ø´ð¡£ÎªÊ²Ã´ÊÇ´ÓÓÒÖÁ×óÄØ£¿ÎÒÖÕ¾¿Ã»Óиø³öºÏÀíµÄ½â ......
ÒÔÏ·ÖÎö»ùÓÚ£º
Developer Platform :S60 3rd Edition, Feature Pack 2 SDK
Operating System :Symbian OS v9.3
Ò»£¬ÎªÊ²Ã´ÒªÊ¹ÓÃClient/Server¼Ü¹¹
ÔÚSymibian OSÖÐËùÓеÄÒì²½·þÎñ¶¼ÊÇServerͨ¹ýC/S¼Ü¹¹À´ÊµÏֵġ£ClientÊÇÀûÓÃServerÌṩµÄÌض¨·þÎñµÄ³ÌÐò£¬Server½ÓÊÜÀ´ÖÁClientµÄÇëÇóÏûÏ¢²¢Í¬²½»òÒì²½µÄ´¦ÀíËûÃÇ¡£C ......
C/C++¹Ø¼ü×Östatic,const,inline,define,typedef
document.body.oncopy = function() {
if (window.clipboardData) {
setTimeout(function() {
......
c/C++Îļþ²Ù×÷
Èí¼þ¿ª·¢ 2009-03-12 16:22 ÔĶÁ18 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
»ùÓÚCµÄÎļþ²Ù×÷
¡¡¡¡ÔÚANSI CÖУ¬¶ÔÎļþµÄ²Ù×÷·ÖΪÁ½ÖÖ·½Ê½£¬¼´Á÷ʽÎļþ²Ù×÷ºÍI/OÎļþ²Ù×÷£¬ÏÂÃæ¾Í·Ö±ð½éÉÜÖ®¡£
Ò»¡¢Á÷ʽÎļþ²Ù×÷
¡¡¡¡ÕâÖÖ·½Ê½µÄÎļþ²Ù×÷ÓÐÒ»¸ö ......
ʲôÊÇsocket
³¤Á¬½ÓÓë¶ÌÁ¬½Ó
Ëùν³¤Á¬½Ó£¬Ö¸ÔÚÒ»¸öTCPÁ¬½ÓÉÏ¿ÉÒÔÁ¬Ðø·¢ËͶà¸öÊý¾Ý°ü£¬ÔÚTCPÁ¬½Ó±£³ÖÆڼ䣬Èç¹ûûÓÐÊý¾Ý°ü·¢ËÍ£¬ÐèҪ˫·½·¢¼ì²â°üÒÔά³Ö´ËÁ¬½Ó£¬Ò»°ãÐèÒª×Ô¼º×öÔÚÏßά³Ö¡£
¶ÌÁ¬½ÓÊÇָͨÐÅË«·½ÓÐÊý¾Ý½»»¥Ê±£¬¾Í½¨Á¢Ò»¸öTCPÁ¬½Ó£¬Êý¾Ý·¢ËÍÍê³Éºó£¬Ôò¶Ï¿ª´ËTCPÁ¬½Ó£¬Ò»°ãÒøÐж¼Ê¹ÓöÌÁ¬½Ó¡£
±ÈÈçht ......