028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

c++primer第2章变量和基本类型-创新互联

文章目录

为铁西等地区用户提供了全套网页设计制作服务,及铁西网站建设行业解决方案。主营业务为网站建设、成都做网站、铁西网站设计,以传统方式定制建设网站,并提供域名空间备案等一条龙服务,秉承以专业、用心的态度为用户提供真诚的服务。我们深信只要达到每一位用户的要求,就会得到认可,从而选择与我们长期合作。这样,我们也可以走得更远!第2章 变量和基本类型2.1 基本内置类型2.1.1 算术类型
类型含义最小尺寸
bool布尔类型/
char字符8
wchar_t宽字符16
char16_tUnicode字符16
char32_tUnicode字符32
short短整型16
int整型16
long长整型32
long long长整型64
float单精度浮点型6位有效数字
double双精度浮点型10位有效数字
long double扩展精度浮点型10位有效数字
2.1.2 类型转换2.1.3 字面值常量2.2 变量2.2.1 变量定义2.2.2 变量声明与定义的关系2.2.3 标识符2.2.4 名字的作用域2.3 复合类型2.3.1 引用(左值引用)2.3.2 指针2.3.3 理解复合类型的声明2.4 const限定符2.4.1 const的引用2.4.2 指针和const2.4.3 顶层const2.4.4 constexpr和常量表达式2.5 处理类型2.5.1 类型别名2.5.2 auto类型说明符2.5.3 decltype2.6 自定义数据类型2.6.1 定义Sales_data类型2.6.2 使用Sales_data类2.6.3 编写自己的头文件小结术语表
addressalias declarationarithmetic typearrayautobase type
bindbyteclass membercompound typeconstconst pointer
const referenceconst experessionconstexprconversiondata memberdeclaration
declaratordecltypedefault initiatializationdefintionescape sequenceglobal scope
header guardidentifierin-class initializerin scopeinitializedinner scope
integral typelist initializationliteralliterallocal scopelow-level const
membernonprintable characternull pointernullptrobjectouter scope
pointerpointer to constpreprecessorreferencereferencereference to const
scopeclassnamespaceblockseparate compilationsigned
stringstructtemporarytop-level consttype aliastype checking
type specifilertypedefundefineduninitializedunsignedvariable
void*voidword& operator* operator#define
#endif#ifdef#ifndef

你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧


分享标题:c++primer第2章变量和基本类型-创新互联
地址分享:http://www.tsicrk.com/article/pjjoh.html

其他资讯

让你的专属顾问为你服务

1.6356s