C++ standard input from file when debugging from IDE
- by incrediman
I'm using VS 2010, and I'm wondering how I can get my c++ program to read a file using standard input while debugging. I know how to do it from command prompt, but not when debugging.
Basically I want it to read in a file with cin instead of me typing stuff - but in debug mode.