I'm a very beginner in programming and I would like to debug a program to know how it works, because its code is pretty big.
The compilation was ok, and my problem is: the program needs the command prompt to run the executable and set its input/output files, so I have to type something like this on the prompt:
C:\...\epanet2d input.inp report.rpt output.out
Then, because the program needs this information, when the debugger calls the executable, it opens and closes without passing by the main routines (I guess).
Might anyone help me with this?
What should I do?
ps. I'm using code::blocks