摘要:
bool static my_var_initialized = false; 偶然写出了这样一句C代码,环境是visual studio 2012,工程是Compile as C的,竟然报了好几个错误: 错误 1 error C2065: “bool”: 未声明的标识符 g:\visualstudio\2012\console\helloc\helloc\test.c 12 1 HelloC 错误 5 error C2065: “true”: 未声明的标识符 g:\visualstudio\2012\console\helloc\helloc\test.c 17 1 HelloC 写... 阅读全文
摘要:
一、定义 integral promotion: "A character, a short integer, or an integer bit-field, all either signed or not, or an object of enumeration type, may be ... 阅读全文