ÓÃCÉè¼Æ£¬ÓÃC++±àÂë
ÍøÓѹ۵ã:
(Ò»):
ÎÒÈÏΪºÜ¶àÈËûÓÐÀí½âlinus»òÕßmyanµÄÒâ˼£¬ÎÒ¾Ù¸öʵÀý¡£
ÎÒÃÇÏÖÔÚÒªÉè¼ÆÒ»Ì×ÍøÂ磿ͻ§¶ËÈí¼þ£¬ÎÒÃÇÒªÏÈ°ÑÐÒ鶨ºÃ£¬°Ñ½çÃæºÍºǫ́½»»¥Éè¼ÆÏëºÃ£¬°ÑÈÝ´íºÍ»Ö¸´ÏëºÃ£¬ÎÒÈÏΪÕâЩÊÇ×îÖØÒªµÄ£¬ÖÁÓÚ±àÂ룬ÓÃCÒ²¿ÉÒÔ±à³öÀ´£¬ÓÃC£«£«Ò²¿ÉÒÔ±à³öÀ´£¬ÉõÖÁÓÃJAVAÒ²Äܱà³öÀ´£¬¹Ø¼üÊÇÕû¸öÈí¼þµÄ¼Ü¹¹ÒªÇåÎú£¬ÕâÑùÈí¼þ±¾Éí²Å²»»á³ö´óÎÊÌâ¡£
µ±È»¶ÔÓÚÄÇÖֱȽÏСµÄÈí¼þ£¬Éè¼Æ¾Í²»ÊÇÄÇôÖØÒªÁË£¬»òÕßijЩ¼¼ÊõÖÁÉϵÄÈí¼þ£¨±ÈÈç˵ÄÇЩʲôhackÖ®ÀàµÄ£¬ÄÇÉè¼Æ¾Í²»ÊǺÜÖØÒªÁË£©
ÖÁÓÚ˵µ½ÓÃʲôÓïÑÔ£¬ÒÔÇ°°ÙÏþÉúÔÚ±øÆ÷Æ×ÉϵÄÅÅÃûµÚÒ»ºÃÏñÊÇÈçÒâ¹÷¡£ÄãÈÃʹÈçÒâ¹÷µÄÈËÀ´Ê¹µ¶£¬Ê¹Ç¹£¬¹À¼ÆËûÒ²²»Ì«»á£¬¶øÇÒËû»¹»á¸úÄã½²ÈçÒâ¹÷ÊÇ×îºÃµÄÎäÆ÷¡£Ð¡Àî·Éµ¶Æäʵ˵°×Á˾ÍÊÇÒ»°ÑÆÕͨµÄСµ¶£¨ÄÇʱºòÖýÔìˮƽ¹À¼Æ±ÈÏÖÔÚÒª²î£©£¬µ«µ½ÁËÀîÑ°»¶ÊÖÀï¾Í·¢»Ó´óµÄÍþÁ¦¡£
µ±È»£¬ÕâÊÇÕë¶Ô¸öÈËÀ´ËµµÄ£¬´Ó¹ãÒåµÄÓïÑÔÉÏÀ´Ëµ£¬ÎÒ¸öÈËÈÏΪÓïÑԵķ¢Õ¹·½ÏòÊÇÏò×ÅʵÓᢽâ¾öÎÊÌâ¡¢¼ò»¯µÄ·½Ïò·¢Õ¹µÄ¡£´Óasmµ½C£¬´ÓCµ½C£«£«£¬JAVA¶¼ÊÇÌåÏÖÁËÕâÒ»µã¡£ÆäʵÓкܶàÓïÑÔ£¬±ÈÈçvb,±ÈÈçpb,ºÜ¶àÈ˲»Ð¼£¬µ«ËûÃǵÄÈ·ºÜʵÓã¬Ò²½â¾öÁ˺ܶàʵ¼ÊµÄÎÊÌâ¡£ËùÒÔÓÐËûÃǵĴóµÄÉú´æ¿Õ¼ä¡£ÖÁÓÚ˵µ½ÓÅÑÅ¡¢ÇÉÃÎÒÏëÄǾÍÊÇѧ¾¿ÅÉÁË¡£
ÖÁÓÚC£«£«µÄ¸ß¼¶ÌØÐÔ£¬ÎÒ¸öÈËÈÏΪûÓбØÒª»¨ºÜ¶àʱ¼äȥѧϰ£¬°ÑÕâ¸öʱ¼ä»¨ÔÚѧϰһÖֽű¾£¬Ñ§Ï°Ò»Ï²Ù×÷ϵͳ£¬Ñ§Ï°Ò»Ð©Êý¾ÝËã·¨Æñ²»¸üÓÐÓá£
(¶þ):
C++µÄ¸÷ÖÖÌØÐÔºÍstl²»ÊÇÇ¿¼ÓÔÚ³ÌÐòÔ±ÉíÉϵġ£²»Àí½â±àÒëÆ÷×öµÄÊÂÇ飬²»Àí½â¿âµÄÄÚ²¿ÊµÏÖʹÓÃÁËËüÃÇ·´¶ø²»Ë¬²»ÊÇC++µÄ´í¡£
ÎÒÖ»ÄÜ˵C++µÄÃż÷¸ß¡£ÄãÃǺ¦ÅÂÁË£¬Ã»¿´¹ý10±¾ÒÔÉÏC++Öø×÷µÄÈËûÓÐȨÀûÔÚÕâÀï¶ÔC++Ö¸ÊÖ»®½Å¡£¶øjava´ïµ½Í¬ÑùµÄ¾³½çÖ»ÐèÒªÁ½Èý±¾Êé¾Í¹»ÁË¡£
C++±ÈÆðC¾ÍÊǽø²½£¬Ò»¸öconst¹Ø¼ü×Ö£¬Ò»¸öboolÀàÐͶ¼Êǽø²½£¬¸ü²»ÓÃ˵ÆäËûÍæÒÕÁË¡£×èÖ¹½ø²½¾ÍÊÇ·¸×ï¡£
˵C++ûÓõÄÈËΪʲô²»ËµJava£¬C#ûÓã¿ÓïÑÔûÓÐÍòÄܵģ¬Ëµ³öÀ´Ë¶¼ÖªµÀ¡£ÄãÃǾÍÖ»ÊÇǽͷ²Ý£¬Ëæ·çµ¹µÄÀàÐÍ¡£ÎÒC£¬C++£¬Java£¬C#¶¼Óá£Ö»ÊÇÔÚÕâÀïΪc++˵¾ä¹«µÀ»°¡£
(Èý):
1¡¢CÊÇ×îÄÜÌåÏÖ³ÌÐòÉè¼Æ£¨programming£©¹¦Á¦µÄÓïÑÔ£¡ÓÈÆäÊǵÚÒ»°æ¼´K&R C£¬¼¸ºõÊÇÒ»ÖÖ“ÂãÌå”ÓïÑÔ£¬³ÌÐòµÄÕýÈ·¡¢°²È«Óë·ñÍêÈ«È¡¾öÓÚ³ÌÐòÔ±µÄ¹¦Á¦¡£
2¡¢ºóÀ´ÈËÃǾõµÃK&R C“̫ΣÏÕ”£¬ÔÚANSI CÖмÓÈëÁ˺ܶàÀàÐͼì²éµÄÉèÊ©£¬Èçfunction prototypeµÄÔ¼¶¨µÈ£¬µÈÓÚÈñàÒëÆ÷Ϊ³ÌÐòÔ±×öÁ˺ܶ๤×÷¡£
3¡¢C++µÄºÜ´óÒ»²¿·Ö¾«Á¦¾ÍÊÇ·ÅÔÚÁËÀàÐͼì²éÉÏ£¬µ±È
Ïà¹ØÎĵµ£º
## Á¬½Ó·ûÓë# ·û
¡¡¡¡## Á¬½Ó·ûºÅÓÉÁ½¸ö¾®ºÅ×é³É£¬Æ书ÄÜÊÇÔÚ´ø²ÎÊýµÄºê¶¨ÒåÖн«Á½¸ö×Ó´®(token)Áª½ÓÆðÀ´£¬´Ó¶øÐγÉÒ»¸öеÄ×Ó´®¡£µ«Ëü²»¿ÉÒÔÊǵÚÒ»¸ö»òÕß×îºóÒ»¸ö×Ó´®¡£ËùνµÄ×Ó´®(token)¾ÍÊÇÖ¸±àÒëÆ÷Äܹ»Ê¶±ðµÄ×îСÓï·¨µ¥Ôª¡£¾ßÌåµÄ¶¨ÒåÔÚ±àÒëÔÀíÀïÓÐÏ꾡µÄ½âÊÍ£¬µ«²»ÖªµÀÒ²ÎÞËùν¡£Í¬Ê±ÖµµÃ×¢ÒâµÄÊÇ#Á¬½Ó·ûÊÇ°Ñ´«µÝ¹ý ......
×î½üÒòΪÑо¿Ò»¸ö¶«Î÷£¬²¢ÇÒÔںܾÃÒÔÇ°¾ÍÏë°ÑpythonºÃºÃ¿´¿´¡£ÕýºÃÂú×ãÎҵĺÃÆæÐÄ¡£ÎÒÿÌìÉÏ°à×öµÃÓÎÏ·¶¼ÊÇÓÃlua£¬Ò²ÊÇÒ»ÃźÜÇ¿´óµÄ½Å±¾ÓïÑÔ¡£¿ÉÄÜÎÒ¸üϲ»¶pythonµÄËõ½øÇø·ÖºÍÃæÏò¶ÔÏó°É¡£ ½ñÌìֻдһ¸ö¼òµ¥µÄÀý×Ó¡£Ò»¸ö¼òµ¥µÄpython½Å±¾£¬¾ÍÒ»¸öº¯Êý£¬ÓÃC/C++È¥µ÷Ó᣿ÉÄÜÕâÒ²ÊÇ×÷Ϊ³ÌÐòÀ´Ëµ×î¹ØÐĵÄÒ»¼þÊ¡£ËùÒÔÎÒµÄpytho ......
1.JavaÔÚÐéÄâ»úÉÏÔËÐÐ
JavaÔ´´úÂë²¢²»ÊDZ»±àÒë³ÉΪÆÕͨµÄ»úÆ÷´úÂë¡£¶øÊDZ»·Òë³ÉΪÐéÄâ»ú¿ÉÒÔÖ´ÐеĴúÂë¡£Ò»¸öJava½âÊÍÆ÷×îÖÕÖ´ÐÐÕâЩ´úÂë¡£ÕâÆäÖÐûÓÐÁ¬½ÓµÄ¹ý³Ì£»½âÊÍÔÚÐèÒªµÄʱºò¶¯Ì¬µÄ¼ÓÔØһЩÀࣻ
2.JavaÊÇÍêÈ«ÃæÏò¶ÔÏóµÄ
JavaÊÇÒ»ÖÖÍêÈ«ÃæÏò¶ÔÏóµÄÓïÑÔ¡£ÕâÒâζ×ÅÄã¶ÔÈκÎÒ»¸öJava¶ÔÏóËù×öµÄ¶¯×÷¶¼ÊÇͨ¹ýÒ ......
http://www.cppblog.com/jacky2019/archive/2007/05/17/24269.html
c++ÖÐǶÈëpythonÈëÃÅ1
±¾ÈËÊÇÓÃvc2003+python2.5ѧϰµÄ£¬ÆäËüµÄÒ²Ó¦¸Ã²î²»Á˶àÉÙ
0. »µ¾³ÉèÖÃ
°ÑpythonµÄinclude/libsĿ¼·Ö±ð¼Óµ½vcµÄinclude/lib directoriesÖÐÈ¥¡£ÁíÍ⣬ÓÉÓÚpythonûÓÐÌṩdebug lib£¬ÌåµØ˵£¬¾ÍÊÇûÓÐÌṩpython25_d.libÁË¡£Äã¿É ......
// ·½°¸— Óŵ㣺½öʹÓÃC ±ê×¼¿â£»È±µã£ºÖ»Äܾ«È·µ½Ã뼶
#include <time.h>
#include <stdio.h>
int main( void )
{
time_t t = time(0);
char tmp[64];
strftime( tmp, sizeof(tmp), "%Y/%m/%d %X %A ±¾ÄêµÚ%jÌì %z",localtim ......