由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Is this correct?
相关主题
深情的呼唤师傅们!C++做题做不出来啦![合集] which design pattern is used if a static variable insid
register variable郁闷
lambda的一个疑问static 变量放在哪里?C++
c preprocess question请问static variable init的问题?
exe file compild by C++ cannot be run by another computerWhat're the three types of memory allocated for C++ variables?
static function and static variable?C++ Q05: pointer to constant variable
C++里 variable declaration 有什么用?请教:如何把程序运行结果转给 bash variable ?
C++小问题How solid it is: c++/c# call Matlab library
相关话题的讨论汇总
话题: correct话题: variables话题: preprocess话题: int话题: type
进入Programming版参与讨论
1 (共1页)
c**********e
发帖数: 2007
1
Correct/Incorrect?
1. To generate a C++ program you must edit, preprocess,
compile, and link your code.
2. Every variable has a name, a type, a value, a size,
and a lifetime.
3. Double variables are twice as accurate as float variables.
4. Variables of type int are system dependent.
k**f
发帖数: 372
2

Preprocess is not absolutely needed, for example:
int main() { return 0; }
The implicit temporaries do not have name, if they count.
Totally wrong. Read this: http://www.answers.com/IEEE%20754
The size (and therefore the range of representable values) of int is system
dependent.

【在 c**********e 的大作中提到】
: Correct/Incorrect?
: 1. To generate a C++ program you must edit, preprocess,
: compile, and link your code.
: 2. Every variable has a name, a type, a value, a size,
: and a lifetime.
: 3. Double variables are twice as accurate as float variables.
: 4. Variables of type int are system dependent.

1 (共1页)
进入Programming版参与讨论
相关主题
How solid it is: c++/c# call Matlab libraryexe file compild by C++ cannot be run by another computer
请教windows 7 怎么增加堆栈上限static function and static variable?
why use template?C++里 variable declaration 有什么用?
What does int & mean? C/C++ questionC++小问题
深情的呼唤师傅们!C++做题做不出来啦![合集] which design pattern is used if a static variable insid
register variable郁闷
lambda的一个疑问static 变量放在哪里?C++
c preprocess question请问static variable init的问题?
相关话题的讨论汇总
话题: correct话题: variables话题: preprocess话题: int话题: type