- 1、本文档共24页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
传统 C+#include assert.h //设定插入点#include ctype.h //字符处理#include errno.h //定义错误码#include float.h //浮点数处理#include fstream.h //文件输入/输出#include iomanip.h //参数化输入/输出#include iostream.h //数据流输入/输出#include limits.h //定义各种数据类型最值常量#include locale.h //定义本地化函数#include math.h //定义数学函数#include stdio.h //定义输入/输出函数#include stdlib.h //定义杂项函数及内存分配函数#include string.h //字符串处理#include strstrea.h //基于数组的输入/输出#include time.h //定义关于时间的函数#include wchar.h //宽字符处理及输入/输出#include wctype.h //宽字符分类标准 C++ (同上的不再注释)#include algorithm //STL 通用算法#include bitset //STL 位集容器#include cctype//字符处理#include cerrno //定义错误码#include clocale//定义本地化函数#include cmath//定义数学函数#include complex //复数类#include cstdio//定义输入/输出函数#include cstdlib//定义杂项函数及内存分配函数#include cstring//字符串处理#include ctime //定义关于时间的函数#include deque //STL 双端队列容器#include exception //异常处理类#include fstream //文件输入/输出#include functional //STL 定义运算函数(代替运算符)#include limits/定义各种数据类型最值常量#include list //STL 线性列表容器#include map //STL 映射容器#include iomanip//参数化输入/输出#include ios //基本输入/输出支持#include iosfwd //输入/输出系统使用的前置声明#include iostream//数据流输入/输出#include istream //基本输入流#include ostream //基本输出流#include queue //STL 队列容器#include set //STL 集合容器#include sstream //基于字符串的流#include stack //STL 堆栈容器 #include stdexcept //标准异常类#include streambuf //底层输入/输出支持#include string //字符串类#include utility //STL 通用模板类#include vector //STL 动态数组容器#include cwchar//宽字符处理及输入/输出#include cwctype//宽字符分类using namespace std;C99 增加#include complex.h //复数处理#include fenv.h //浮点环境#include inttypes.h //整数格式转换#include stdbool.h //布尔环境#include stdint.h //整型环境#include tgmath.h //通用类型数学宏一、预编译头文件说明
所谓头文件预编译,就是把一个工程(Project)中使用的一些MFC标准头文件(如Windows.H、Afxwin.H)预先编译,以后该工程编译时,不再编译这部分头文件,仅仅使用预编译的结果。这样可以加快编译速度,节省时间。
预编译头文件通过编译stdafx.cpp生成,以工程名命名,由于预编译的头文件的后缀是“pch”,所以编译结果文件是projectname.pch。
编译器通过一
您可能关注的文档
- 第17课 电脑日常维护和优化.ppt
- CorelDRAW入门节-14 文字传说-文字工具.ppt
- 第17课维护和优化.ppt
- 第18讲 建立并使用帮助文件 - 中国工控网.ppt
- 第18节 建立并使用帮助文件.ppt
- CorelDRAW入门篇-21交互式变形及封套效果.ppt
- 第18节音乐播放1——小程序.ppt
- CorelDRAW图形设计基础第3节.ppt
- cortex-m3显示汉字及图片.pdf
- 第18章 微机硬件的维护和优化.ppt
- GB/T 39560.10-2024电子电气产品中某些物质的测定 第10部分:气相色谱-质谱法(GC-MS)测定聚合物和电子件中的多环芳烃(PAHs).pdf
- 中国国家标准 GB/T 39560.10-2024电子电气产品中某些物质的测定 第10部分:气相色谱-质谱法(GC-MS)测定聚合物和电子件中的多环芳烃(PAHs).pdf
- 《GB/T 39560.10-2024电子电气产品中某些物质的测定 第10部分:气相色谱-质谱法(GC-MS)测定聚合物和电子件中的多环芳烃(PAHs)》.pdf
- GB/T 39560.302-2024电子电气产品中某些物质的测定 第3-2部分:燃烧-离子色谱法(C-IC)筛选聚合物和电子件中的氟、氯和溴.pdf
- 中国国家标准 GB/T 39560.2-2024电子电气产品中某些物质的测定 第2部分:拆解、拆分和机械制样.pdf
- 中国国家标准 GB/T 39560.302-2024电子电气产品中某些物质的测定 第3-2部分:燃烧-离子色谱法(C-IC)筛选聚合物和电子件中的氟、氯和溴.pdf
- GB/T 39560.2-2024电子电气产品中某些物质的测定 第2部分:拆解、拆分和机械制样.pdf
- 《GB/T 39560.2-2024电子电气产品中某些物质的测定 第2部分:拆解、拆分和机械制样》.pdf
- 《GB/T 39560.303-2024电子电气产品中某些物质的测定 第3-3部分:配有热裂解/热脱附的气相色谱-质谱法(Py/TD-GC-MS)筛选聚合物中的多溴联苯、多溴二苯醚和邻苯二甲酸酯》.pdf
- 中国国家标准 GB/T 39560.303-2024电子电气产品中某些物质的测定 第3-3部分:配有热裂解/热脱附的气相色谱-质谱法(Py/TD-GC-MS)筛选聚合物中的多溴联苯、多溴二苯醚和邻苯二甲酸酯.pdf
文档评论(0)