摘要:
#define MAX_AGE 35 [MAX_AGE] 定义宏名字 随便都可以 35数值 const int 变量名 = 35 const 只读变量 阅读全文
摘要:
16进制常量 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 A B C D E F 123= 1x100 + 2x10 + 3x1 0x11(相当于17) 以0x为前缀 8进制常量 011=9 0开头 阅读全文
摘要:
int类型 1,2,3,4,100 long常量 200L long long 2000LL char 'a' 'b' '*' float 3.14f double 3.0 3.1415 阅读全文