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

dz̸CÄÚ´æ·ÖÅä1

¹ØÓÚCÓïÑÔÄÚ´æ·½ÃæµÄ»°ÌâÒªÕæ˵ÆðÀ´µÄ»°ÄÇ¿ÖžÍûͷÁË£¬ËùÒÔ±¾ÎĽö½öÊÇÒ»¸ödz̸¡£
¹ØÓÚÄÚ´æÎÊÌâ
²»Í¬Æ½Ì¨Ö®¼äÓÐÒ»¶¨µÄÇø±ð¡£±¾ÎÄËùÖ¸µÄƽ̨ÊÇx86µÄLinux
ƽ̨
ÓÃCÓïÑÔ×ö³ÌÐò£¨ÆäʵÆäËûÓïÑÔÒ²Ò»Ñù£©£¬²»½öÒªÊìϤÓï·¨£¬ÆäʵºÜ¶àÏà¹ØµÄ±³¾°ÖªÊ¶Ò²ºÜÖØÒª¡£ÔÚѧϰºÍÑо¿CÓïÑÔÖÐÄÚ´æ·ÖÅäµÄÎÊÌâÇ°£¬Ê×ÏÈÒªÁ˽âÒ»ÏÂLinux·ÖÅä¸ø½ø³Ì£¨ÔËÐÐÖеijÌÐò£©µÄµØÖ·¿Õ¼äÊÇʲôÑùµÄ¡£
×ܵÄÀ´ËµÓÐ3¸ö¶Î£¬¼´´úÂë¶Î£¬Êý¾Ý¶ÎºÍ¶ÑÕ»¶Î£¨Ñ§¹ý»ã±àµÄÅóÓÑÒ»¶¨ºÜÊìϤÁË£©¡£´úÂë¶Î¾ÍÊÇ´æ´¢³ÌÐòÎı¾µÄ£¬ËùÒÔÓÐʱºòÒ²½Ð×öÎı¾¶Î£¬Ö¸ÁîÖ¸ÕëÖеÄÖ¸Áî¾ÍÊÇ
´ÓÕâÀïÈ¡µÃ¡£Õâ¸ö¶ÎÒ»°ãÊÇ¿ÉÒÔ±»¹²ÏíµÄ£¬±ÈÈçÄãÔÚLinux¿ªÁË2¸öViÀ´±à¼­Îı¾£¬ÄÇôһ°ãÀ´ËµÕâÁ½¸öViÊǹ²ÏíÒ»¸ö´úÂë¶ÎµÄ£¬µ«ÊÇÊý¾Ý¶Î²»Í¬£¨ÕâµãÓÐ
µãÀàËÆC++ÖÐÀàµÄ²»Í¬¶ÔÏó¹²ÏíÏàͬ³ÉÔ±º¯Êý£©¡£Êý¾Ý¶ÎÊÇ´æ´¢Êý¾ÝÓõģ¬»¹¿ÉÒԷֳɳõʼ»¯Îª·ÇÁãµÄÊý¾ÝÇø£¬BSS£¬ºÍ¶Ñ(Heap)Èý¸öÇøÓò¡£³õʼ»¯·ÇÁã
Êý¾ÝÇøÓòÒ»°ã´æ·Å¾²Ì¬·ÇÁãÊý¾ÝºÍÈ«¾ÖµÄ·ÇÁãÊý¾Ý¡£BSSÊÇBlock Started by
SymbolµÄËõд£¬Ô­±¾ÊÇ»ã±àÓïÑÔÖеÄÊõÓï¡£¸ÃÇøÓòÖ÷Òª´æ·Åδ³õʼ»¯µÄÈ«¾ÖÊý¾ÝºÍ¾²Ì¬Êý¾Ý¡£»¹ÓоÍÊǶÑÁË£¬Õâ¸öÇøÓòÊǸø¶¯Ì¬·ÖÅäÄÚ´æÊÇʹÓõģ¬Ò²¾ÍÊÇÓÃ
mallocµÈº¯Êý·ÖÅäµÄÄÚ´æ¾ÍÊÇÔÚÕâ¸öÇøÓòÀïµÄ¡£ËüµÄµØÖ·ÊÇÏòÉÏÔö³¤µÄ¡£×îºóÒ»¸ö¶ÑÕ»¶Î£¨×¢Ò⣬¶ÑÕ»ÊÇStack,¶ÑÊÇHeap£¬²»ÊÇͬһ¸ö¶«Î÷£©£¬¶Ñ
Õ»¿ÉÌ«ÖØÒªÁË£¬ÕâÀï´æ·Åמֲ¿±äÁ¿ºÍº¯Êý²ÎÊýµÈÊý¾Ý¡£ÀýÈçµÝ¹éËã·¨¾ÍÊÇ¿¿Õ»ÊµÏֵġ£Õ»µÄµØÖ·ÊÇÏòÏÂÔö³¤µÄ¡£¾ßÌåÈçÏ£º
========¸ßµØÖ·     =======
³ÌÐòÕ»             ¶ÑÕ»¶Î
         ÏòÏÂÔö³¤
“¿Õ¶´”           =======
         ÏòÉÏÔö³¤
¶Ñ
------             Êý¾Ý¶Î
BSS
------
·ÇÁãÊý¾Ý
=========µÍµØÖ·    =======
=========          =======
´úÂë               ´úÂë¶Î
=========          =======
ÐèҪעÒâµÄÊÇ£¬´úÂë¶ÎºÍÊý¾Ý¶ÎÖ®¼äÓÐÃ÷È·µÄ·Ö¸ô£¬µ«ÊÇÊý¾Ý¶ÎºÍ¶ÑÕ»¶ÎÖ®¼äûÓУ¬¶øÇÒÕ»ÊÇÏòÏÂÔö³¤£¬¶ÑÊÇÏòÉÏÔö³¤µÄ£¬Òò´ËÀíÂÛÉÏÀ´Ëµ¶ÑºÍÕ»»á“Ôö³¤µ½Ò»Æ𔣬µ«ÊDzÙ×÷ϵͳ»á·ÀÖ¹


Ïà¹ØÎĵµ£º

Delphi Óë C/C++ Êý¾ÝÀàÐͶÔÕÕ±í

Delphi Óë C/C++ Êý¾ÝÀàÐͶÔÕÕ±í
DelphiÊý¾ÝÀàÐÍC/C++
ShorInt
8λÓзûºÅÕûÊý
char
Byte
8λÎÞ·ûºÅÕûÊý
BYTE,unsigned short
SmallInt
16λÓзûºÅÕûÊý
short
Word
16λÎÞ·ûºÅÕûÊý
unsigned short
Integer,LongInt
32λÓзûºÅÕûÊý
int,long
Cardinal,LongWord/DWORD
32λÎÞ·ûºÅÕûÊý
unsigned long
Int6 ......

linux Ï ÓÃcÓïÑÔ´´½¨mysqlÊý¾Ý¿â±Ê¼Ç£¨¶þ£©

linux Ï ÓÃcÓïÑÔ´´½¨mysqlÊý¾Ý¿â±Ê¼Ç£¨¶þ£©
                       
£­£­£­£­£­£­£­Á½¸ö¼òµ¥µÄÀý×Ó£¬¹©²Î¿¼±È½Ï
¡¶ÀýÒ»¡·
#include <stdio.h>
#include <stdlib.h>
#include
&q ......

c·ÖÎöÃæÏò¶ÔÏóµÄʵÏÖ¼¼Êõ

ÃæÏò¶ÔÏó±à³ÌºÍ½á¹¹»¯±à³Ì¼¸ºõÔÚͬһʱÆÚ³öÏÖ¡£µ«ÊÇÓÉÓÚÔçЩʱºòµÄ»úÆ÷»·¾³²»ÔÊÐí£¬ÈçÄÚ´æ¡¢cpuµÈ¡£µ¼ÖÂÃæÏò¶ÔÏó¼¼ÊõûÓеõ½¼°Ê±µÄ·¢Õ¹£¬¶øͬʱÒòΪ½á¹¹»¯³ÌÐò¶ÔÓ²¼þÒªÇó²»ÊÇÄÇôǿÁÒ£¬ËùÒÔ¼°Ê±µÄ·¢Õ¹ÆðÀ´ÁË¡£
µ«ÊÇËäÈ»Èç´Ë£¬¸ü¶àµÄÈËÔÚ̸µ½ÃæÏò¶ÔÏóʱ×ܾõµÃÊÇÖÖÓÅÔ½£¬×ܾõµÃ"¸ßÈËÒ»µÈ"£¬×ÔÈÏΪc++Ò»¶¨±ÈcÓÅÐã¡£ÏÂÃæͨ¹ýÓ ......

c/sÓëb/sµÄ²»Í¬

C/SÊÇClient/ServerµÄËõд¡£·þÎñÆ÷ͨ³£²ÉÓøßÐÔÄܵÄPC¡¢¹¤×÷Õ¾»òСÐÍ»ú£¬²¢²ÉÓôóÐÍÊý¾Ý¿âϵͳ£¬ÈçOracle¡¢Sybase¡¢Informix»ò SQL Server¡£¿Í»§¶ËÐèÒª°²×°×¨ÓõĿͻ§¶ËÈí¼þ¡£
B/S ÊÇBrower/ServerµÄËõд£¬¿Í»§»úÉÏÖ»Òª°²×°Ò»¸öä¯ÀÀÆ÷£¨Browser£©£¬ÈçNetscape Navigator»òInternet Explorer£¬·þÎñÆ÷°²×°Oracle¡¢Sybase¡¢In ......

C ÖÐtypedefµÄһЩʹÓÃ

1. »ù±¾½âÊÍ
¡¡¡¡typedefΪCÓïÑԵĹؼü×Ö£¬×÷ÓÃÊÇΪһÖÖÊý¾ÝÀàÐͶ¨ÒåÒ»¸öÐÂÃû×Ö¡£ÕâÀïµÄÊý¾ÝÀàÐÍ°üÀ¨ÄÚ²¿Êý¾ÝÀàÐÍ£¨int,charµÈ£©ºÍ×Ô¶¨ÒåµÄÊý¾ÝÀàÐÍ£¨structµÈ£©¡£
¡¡¡¡ÔÚ±à³ÌÖÐʹÓÃtypedefÄ¿µÄÒ»°ãÓÐÁ½¸ö£¬Ò»¸öÊǸø±äÁ¿Ò»¸öÒ×¼ÇÇÒÒâÒåÃ÷È·µÄÐÂÃû×Ö£¬ÁíÒ»¸öÊǼò»¯Ò»Ð©±È½Ï¸´ÔÓµÄÀàÐÍÉùÃ÷¡£
¡¡¡¡ÖÁÓÚtypedefÓÐʲô΢ÃîÖ®´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ