问题

计算数学 >> 数据结构
Questions in category: 数据结构 (Data Structure).

Exercise 1.4

Posted by haifeng on 2020-02-27 08:48:59 last update 2020-02-27 08:48:59 | Answers (0) | 收藏


1.4  C++ 提供形如 #include filename 的语句, 它将 filename 读入并将其插入到 include 语句处. include 语句可以嵌套; 换句话说, 文件 filename 本身还可以包含 include 语句, 但是显然一个文件在任何链接中都不能包含它自己. 编写一个程序, 来读入一个文件, 并输出该文件被 include 语句修改后的内容.

 


Exercise 1.4  课本 P.29

课本: Mark Allen Weiss 著, 张怀勇 等译, 《数据结构与算法分析C++描述》(第3版)