Command Line Arguments

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

Command Line Arguments

Post by BoudreauxSmith » Wed Oct 03, 2018 1:41 am

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?

CodeLite Enthusiast
Posts: 15
Joined: Wed Oct 31, 2018 2:16 pm
Genuine User: Yes
IDE Question: C++
Location: United Kingdom

Re: Command Line Arguments

Post by neildarlow » Thu Nov 01, 2018 11:30 pm

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?


Post Reply