且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C ++标准输入从文件调试从IDE

更新时间:2023-11-17 23:30:52

如果你进入项目的属性,在Debugging下有一组选项,处理。 IIRC这样做的方法是:

If you go into the project's Properties, under Debugging there's a set of options for how to actually launch the process. IIRC the way to do this is to put:

< yourfile.txt

在命令参数框中。