can anyone give me some tips on how to debug>this is a special case.
my program waits for input entered from the keyboard but i give it a file using the following commands
C:\WINDOWS>desktop>projectName.exe<inputFile.txt
now this works fine if you want to run your program
but how do i tell the program the same thing in the debug mode?
coz i don't know how to redirect the input file so that it goes read from it, instead of waiting for the user input.
THANK you ALL.
my program waits for input entered from the keyboard but i give it a file using the following commands
C:\WINDOWS>desktop>projectName.exe<inputFile.txt
now this works fine if you want to run your program
but how do i tell the program the same thing in the debug mode?
coz i don't know how to redirect the input file so that it goes read from it, instead of waiting for the user input.
THANK you ALL.