我目前的输入文件是用C ++代码硬编码的:
constexpr auto SELECTED_COLLEGES {"rva-ceeb-working.txt"};
std::ifstream ifs {SELECTED_COLLEGES, std::ios::in};
我打算更改代码以使用标准输入。当我从命令行运行程序时,我将文件指定为:
$ aptcp <rva-ceeb-working.txt
如何告诉Cevelop / EclipseC / C ++何时运行程序以使用rva-ceeb-working.txt
进行标准输入?
Cevelop C++ IDE
Version: 1.8.0-201707131430
Eclipse C/C++ Development Tools
Version: 9.3.0.201706122201
Build id: @build@
Eclipse Help
Version: 2.2.100.v20170612-0950
Build id: I20170612-0950
OS: Linux, v.4.10.0-37-generic, x86_64 / gtk 3.22.11