Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: gabrielksa on November 08, 2010, 02:13:11 pm
-
Hi!
I'm a newbie, and I'm trying to debug an application which is loaded by the command prompt, that passes the input information to the program, such as the intput/output file names. I've read some topics about setting the program's arguments, but I don't know how whether the solution is there, and nor even how to set it for my case.
For example, to load the application, I have to run the command prompt and type in the application directory: epanet2d input.inp report.rpt output.out.
Might anyone help me?
-
yes you can...
Project -> Set program's arguments -> choose your target and enter the arguments " - input.inp report.rpt output.out"