Page 1 of 1

Command Line Arguments

Posted: Wed Oct 03, 2018 1:41 am
by BoudreauxSmith
Sorry if this is in the wrong place. I have only used Visual Studio up to this point. I would like to use command line arguments for debugging such as '<input.txt' or '>out.txt'. I have went to the project setting and added these arguments, but I've messed up. My program is waiting on input. How do I do this in Codelite?
Thanks

Re: Command Line Arguments

Posted: Thu Nov 01, 2018 11:30 pm
by neildarlow
If you're redirecting input from a file then, unless you specify the full path to the file in the command, it must reside in the working directory. Have you done this?

Regards,
Neil