lost balance
Monday, June 30, 2008
static indicator
static variable就像是global變數差別只在它的visible範圍只在該scope內所以static變數的初始值就是0當然你也可以像global變數一樣指定初始值給它
static function表示該function的visible範圍只在該.cpp內可以避免污染global namespace所以很多個.cpp內可以有同樣名稱的static function
posted by magic @
8:42 PM
0 comments
0 Comments:
Post a Comment
<< Home
About Me
Name:
張家綸
Come From:
Taiwan,Taipei
University:
Ntust
Email:
Ted_Chang@quantatw.com
Previous Posts
send the output data into file
Baseboard management controller(BMC)
Big Real Mode (大真實模式)
Enable Protected Mode 的第一項基本功 - Global Descriptor ...
c function ,strcmp and stricmp
Intelligent Platform Management Interface (IPMI)
how create length of a data or data block
delay for I/O instruction
[code segment] Dump AL
Find PCI Device function
0 Comments:
Post a Comment
<< Home