【发布时间】:2018-08-09 16:26:19
【问题描述】:
我有一些在 eclipse Oxygen 下编辑的现有 C++ 代码。它在 IDE 中报告错误,因为不同 IDE 下的原始项目被配置为自动包含指定的默认头文件。我怎么能在日食中做到这一点。
不询问如何更改新文件的模板。
不知道如何使用 -include 选项,因为我没有 make 文件。 “Is there any way to include a header file in all C or CPP file automatically?”中描述了使用 -include
【问题讨论】:
标签: c++ eclipse build include header-files