Author Topic: How to specify command line arguments (args[]) in project build settings  (Read 3790 times)

Offline blipton

  • Multiple posting newcomer
  • *
  • Posts: 12
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!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Project->Set programs Arguments

greetings

Offline blipton

  • Multiple posting newcomer
  • *
  • Posts: 12
Doh!   Thanks,  here I was looking for it in all the build option menus!