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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Launch a program in the debugger with standard input redirection?

Status
Not open for further replies.

bdt

Programmer
Sep 29, 2002
9
US
Okay, Here's the problem. To launch this program I type in &quot;theater.exe < theater0.dat&quot; in the command prompt. I need to run this program with msvcpp's debugger, but I don't know how to tell the debugger to launch the app with theater0.dat as the standard input. Please help me, this is due at midnight. I really would like having the debuggers help for this program :p Thanks in advance.
 
well, I figured it out and I thought i'd let y'all know. I had to set project->settings->debug->arguements to &quot;< theater0.dat&quot; AND I had to include theater0.dat as a resource file in my project. However, the debugger is a worthless piece of trash and didn't help me like I thought it would :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top