Sign in to follow this  

command-line parameters in visual c++ express

Recommended Posts

Endar    668
I believe that there is a text box in the project properties in which you can input some command line params.

What you could also do is instead of having everything reference 'argv', create your own char** and create it at the start of the main function, and then have everything refernce that (also create your own 'argc' variable). It might be a round about way of doing it, but it should work, and you won't continually have to go into the project properties window whenever you need to change the command line params.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this