Get option at command line
Posted: Mon Jan 09, 2012 3:14 pm
I would like to know if it is possible to get an option given at the command line for a GUI program. For example i would like to load different images depending on what the user provides when the executable is run. If
is given i want to load the images in Data/bw And if
is given i want to load the images in Data/retro. Any assistance would be greatly appreciated.
Sincerely,
PBogger
Code: Select all
myapp.exe bw
Code: Select all
myapp.exe retro
Sincerely,
PBogger