在C++ Primer 第五版中有一个小练习要将网站上的头文件源码“拷贝到工作目录中”,下载方法如下
https://www.informit.com/store/c-plus-plus-primer-9780321714114
网址: 点这里
文件说明
Download the source files forGCC 4.7.0.
适用于GCC 4.7.0.或更高版本GCC
Download the source code files forMS Visual Studio 2012
适用于Visual Studio 2012或更高版本
Download the source code files for GCC pre-C++ 11 compilers 2012.
适用于GCC 4.7.0之前版本,不使用c++0x或c++11的新标准。
Download the source code files for Microsoft pre-C++ 11 compilers.
适用于Visual Studio 2012之前版本
————————————————
根据自已实际情况选择下载相应文件