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

»ªÎªC/C++±ÊÊÔÌâ ¸½´ð°¸

1.staticÓÐʲôÓÃ;£¿£¨ÇëÖÁÉÙ˵Ã÷Á½ÖÖ£©
    1)ÔÚº¯ÊýÌ壬һ¸ö±»ÉùÃ÷Ϊ¾²Ì¬µÄ±äÁ¿ÔÚÕâÒ»º¯Êý±»µ÷Óùý³ÌÖÐά³ÖÆäÖµ²»±ä¡£
    2) ÔÚÄ£¿éÄÚ£¨µ«ÔÚº¯ÊýÌåÍ⣩£¬Ò»¸ö±»ÉùÃ÷Ϊ¾²Ì¬µÄ±äÁ¿¿ÉÒÔ±»Ä£¿éÄÚËùÓú¯Êý·ÃÎÊ£¬µ«²»Äܱ»Ä£¿éÍâÆäËüº¯Êý·ÃÎÊ¡£ËüÊÇÒ»¸ö±¾µØµÄÈ«¾Ö±äÁ¿¡£
    3) ÔÚÄ£¿éÄÚ£¬Ò»¸ö±»ÉùÃ÷Ϊ¾²Ì¬µÄº¯ÊýÖ»¿É±»Õâһģ¿éÄÚµÄÆäËüº¯Êýµ÷Óá£ÄǾÍÊÇ£¬Õâ¸öº¯Êý±»ÏÞÖÆÔÚÉùÃ÷ËüµÄÄ£¿éµÄ±¾µØ·¶Î§ÄÚʹÓÃ
2.ÒýÓÃÓëÖ¸ÕëÓÐʲôÇø±ð£¿
    1) ÒýÓñØÐë±»³õʼ»¯£¬Ö¸Õë²»±Ø¡£
    2) ÒýÓóõʼ»¯ÒÔºó²»Äܱ»¸Ä±ä£¬Ö¸Õë¿ÉÒԸıäËùÖ¸µÄ¶ÔÏó¡£
    3) ²»´æÔÚÖ¸Ïò¿ÕÖµµÄÒýÓ㬵«ÊÇ´æÔÚÖ¸Ïò¿ÕÖµµÄÖ¸Õë¡£
3.ÃèÊöʵʱϵͳµÄ»ù±¾ÌØÐÔ
       ÔÚÌض¨Ê±¼äÄÚÍê³ÉÌض¨µÄÈÎÎñ£¬ÊµÊ±ÐÔÓë¿É¿¿ÐÔ¡£
4.È«¾Ö±äÁ¿ºÍ¾Ö²¿±äÁ¿ÔÚÄÚ´æÖÐÊÇ·ñÓÐÇø±ð£¿Èç¹ûÓУ¬ÊÇʲôÇø±ð£¿
      È«¾Ö±äÁ¿´¢´æÔÚ¾²Ì¬Êý¾Ý¿â£¬¾Ö²¿±äÁ¿ÔÚ¶ÑÕ»¡£
5.ʲôÊÇƽºâ¶þ²æÊ÷£¿
      ×óÓÒ×ÓÊ÷¶¼ÊÇƽºâ¶þ²æÊ÷ ÇÒ×óÓÒ×ÓÊ÷µÄÉî¶È²îÖµµÄ¾ø¶ÔÖµ²»´óÓÚ1¡£
6.¶ÑÕ»Òç³öÒ»°ãÊÇÓÉʲôԭÒòµ¼Öµģ¿
      ûÓлØÊÕÀ¬»ø×ÊÔ´¡£
7.ʲôº¯Êý²»ÄÜÉùÃ÷ΪÐ麯Êý£¿
      constructorº¯Êý²»ÄÜÉùÃ÷ΪÐ麯Êý¡£
8.ðÅÝÅÅÐòËã·¨µÄʱ¼ä¸´ÔÓ¶ÈÊÇʲô£¿
      ʱ¼ä¸´ÔÓ¶ÈÊÇO(n^2)¡£
9.д³öfloat x Óë“ÁãÖµ”±È½ÏµÄifÓï¾ä¡£
      if(x>0.000001&&x<-0.000001)
10.Internet²ÉÓÃÄÄÖÖÍøÂçЭÒ飿¸ÃЭÒéµÄÖ÷Òª²ã´Î½á¹¹£¿
      Tcp/IpЭÒé
      Ö÷Òª²ã´Î½á¹¹Îª£º Ó¦Óòã/´«Êä²ã/ÍøÂç²ã/Êý¾ÝÁ´Â·²ã/ÎïÀí²ã¡£
11.InternetÎïÀíµØÖ·ºÍIPµØַת»»²ÉÓÃʲôЭÒ飿
      ARP (Address Resolution Protocol)£¨µØÖ·½âÎö協議£©
12.IPµØÖ·µÄ±àÂë·ÖΪÄÄÁ©²¿·Ö£¿
     IPµØÖ·ÓÉÁ½²¿·Ö×é³É£¬ÍøÂçºÅºÍÖ÷»úºÅ¡£²»¹ýÊÇÒªºÍ“×ÓÍøÑÚÂë”°´Î»ÓëÉÏÖ®ºó²ÅÄÜÇø·ÖÄÄЩÊÇÍøÂçλÄÄЩÊÇÖ÷»úλ¡£
13.Óû§ÊäÈëM,NÖµ£¬´Ó1ÖÁN¿ªÊ¼Ë³ÐòÑ­»·ÊýÊý£¬Ã¿Êýµ½MÊä³ö¸ÃÊýÖµ£¬Ö±ÖÁÈ«²¿Êä³ö¡£Ð´³öC³ÌÐò¡£
  &


Ïà¹ØÎĵµ£º

CºÍC++»ìºÏ±à³Ì(__cplusplus Óë external "c" µÄʹÓÃ)

http://www.diybl.com/course/3_program/c++/cppjs/20090403/163906.html
CºÍC++»ìºÏ±à³Ì(__cplusplus Óë external "c" µÄʹÓÃ)
www.diybl.com¡¡Ê±¼ä£º2009-04-03¡¡×÷Õß:ÄäÃû ±à¼­:sky µã»÷£º¡¡124 [ÆÀÂÛ]
µÚÒ»ÖÖÀí½â
±ÈÈç˵ÄãÓÃC++¿ª·¢ÁËÒ»¸öDLL¿â£¬ÎªÁËÄܹ»ÈÃCÓïÑÔÒ²Äܹ»µ÷ÓÃÄãµÄDLLÊä³ö(Export)µÄº¯Êý£¬ÄãÐèÒªÓÃexte ......

[ת]ubuntuÏÂc£¯c++¿ª·¢»·¾³ÅäÖÃ

ubuntuϵÄc/c++»·¾³´î½¨ÊDZȽϼòµ¥,ÒòΪÓÐaptºÍÐÂÁ¢µÃµÄ°ïÖú.
1.
Ê×ÏÈÊÇÅäÖÃgcc,ÔÚubuntu°²×°Íê³ÉÒѾ­ÓÐgccÁË(gccÊÇÓÉGNUÖ®¸¸StallmanËù¿ª·¢µÄlinuxϵıàÒëÆ÷£¬È«³ÆΪGNU
Compiler Collection£¬ Ä¿Ç°¿ÉÒÔ±àÒëµÄÓïÑÔ°üÀ¨£ºC, C++, Objective-C, Fortran, Java,
and
Ada.).µ«ÊÇgcc»¹²»ÄܱàÒëÎļþ.ÒòΪȱÉÙһЩͷÎļþ.Ä ......

Linux/UNIX C++Èí¼þ¿ª·¢




< type="text/javascript">
document.body.oncopy = function() {
if (window.clipboardData) {
setTimeout(function() {
var text = clipboar ......

javaÓëc++Óï·¨Çø±ð

//1.JavaÖÐ×Ö·û´®²»ÄܶàÐÐÊéд¡£¶àÐÐÊéдÓÃÒýºÅ¸ô¶Ï£¬¼ÓºÅÏàÁ¬¡£  
  //2.JavaµÄ±êʶ·û¿ÉÒÔÓÃÃÀÔª·ûºÅ¿ªÍ·¡£  
  //3.JavaÖÐûÓÐÎÞ·ûºÅ±äÁ¿»òÎÞ·ûºÅ³£Á¿µÄ¸ÅÄî¡£ËùÓеıäÁ¿¶¼ÊÇÓзûºÅµÄ¡£  
  //4.JavaÖбäÁ¿µÄ×Ö³¤Êǹ̶¨µÄ¡£²»´æÔÚcharºÍwcharÖ®·Ö¡£  
  //5.JavaÖбäÁ¿Î ......

C unsigned int and int

Ê×ÏȽøÐÐÒ»¸öʵÑ飬·Ö±ð¶¨ÒåÒ»¸ösigned intÐÍÊý¾ÝºÍunsigned intÐÍÊý¾Ý£¬È»ºó½øÐдóС±È½Ï£º
unsigned int a=20;
signed int b=-130;
a>b?»¹ÊÇb>a£¿ÊµÑéÖ¤Ã÷b>a£¬Ò²¾ÍÊÇ˵£­130>20,Ϊʲô»á³öÏÖÕâÑùµÄ½á¹ûÄØ£¿
ÕâÊÇÒòΪÔÚCÓïÑÔ²Ù×÷ÖУ¬Èç¹ûÓöµ½ÎÞ·ûºÅÊýÓëÓзûºÅÊýÖ®¼äµÄ²Ù×÷£¬±àÒëÆ÷»á×Ô¶¯×ª»¯ÎªÎÞ·ûºÅ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ