Community
Participate
Working Groups
Build Identifier: M20100909-0800 Add the following line into 'Run Configurations'/Arguments/'Program Arguments' < data.txt Program might be something like: int main() { size_t n; std::cin >> n; return 0; } Then put number into data.txt. If you debug it works. File is read and number is fed into cin. If you run it (no debug) it won't work. You have to type stuff into console. Should similar work in both ways. Reproducible: Always Steps to Reproduce: 1. Configure Program Arguments to read from file (< data.txt) 2. Run application 3. No file is read
Launching is under cdt-debug.