program.exe -p "300" -m "bla"
how can i make a program than can reads these variables and processes them in c++?
Printable View
program.exe -p "300" -m "bla"
how can i make a program than can reads these variables and processes them in c++?
Like THIS you mean?
mm it not seems to work using command in windows, it me be the way i compile it.. i use visual c++ and then c++ source file..
can somebody give me a example and say how to compile it ?
This instruction applies to VC++ 6.0.
Code:Project->Settings->Debug tab->Program arguments text field[enter your arguments here]
Are you compiling your program as a console program? And using the command prompt to run it after it's compiled?Quote:
Originally posted by Maurad3r
mm it not seems to work using command in windows, it me be the way i compile it.. i use visual c++ and then c++ source file..
can somebody give me a example and say how to compile it ?
yeah it works now
i compiled as a C++ source file at first, but now i compiled as a win32 app and now it works..
thnx.. now i just have to integrate it with my webShop in PHP