Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DEBUG

Status
Not open for further replies.

marwan

Technical User
Joined
Oct 19, 2002
Messages
2
Location
SA
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.
 
check your IDE:
projects->settings->debug->program arguments
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top