Command Line Arguments

CodeLite installation/troubleshooting forum
BoudreauxSmith
CodeLite Curious
Posts: 1
Joined: Wed Oct 03, 2018 1:17 am
Genuine User: Yes
IDE Question: c++
Contact:

Command Line Arguments

Post 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
neildarlow
CodeLite Enthusiast
Posts: 16
Joined: Wed Oct 31, 2018 2:16 pm
Genuine User: Yes
IDE Question: C++
Location: United Kingdom
Contact:

Re: Command Line Arguments

Post 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
Post Reply