User forums > Help
How to specify command line arguments (args[]) in project build settings
(1/1)
blipton:
I'm trying to debug an application that uses a filename supplied by the user at run-time via the command line.
How can I specify an argument in the project settings so that when the debugger launches it sees 2 arguments (the program name, and the string I specified)?
I know in MS Visual Studio, the project's properties has a debug section where you can specify it, but can't seem to find anything like that in CodeBlocks?
Thanks!
BlueHazzard:
Project->Set programs Arguments
greetings
blipton:
Doh! Thanks, here I was looking for it in all the build option menus!
Navigation
[0] Message Index
Go to full version