摘要:
声明+定义; 指针必须初始化; int a(5); <=> int a=5; 浮点数不可直接==比较; 类型转换方式:类型转换操作符<类型说明符>(表达式)。如:static_cast<int>(z); unsigned 无符号、const 定值; NULL与nullptr的区别:NULL相当于0, 阅读全文
posted @ 2021-07-16 11:01
伊伊伊利
阅读(58)
评论(0)
推荐(0)
|
摘要:
声明+定义; 指针必须初始化; int a(5); <=> int a=5; 浮点数不可直接==比较; 类型转换方式:类型转换操作符<类型说明符>(表达式)。如:static_cast<int>(z); unsigned 无符号、const 定值; NULL与nullptr的区别:NULL相当于0, 阅读全文
posted @ 2021-07-16 11:01
伊伊伊利
阅读(58)
评论(0)
推荐(0)
|