What's up
I'm trying to figure out how to retrieve arguments in a MFC program.
In a normal console program you've got:
and that would display something passed along with the file when it is about to be executed. Is there a hidden argv/argc in MFC? (I'm trying to pass variables to the program when it starts that could include /hidden or /off or /on or something along those lines..)Code:#include <iostream> using namespace std; int main (int argc, char *argv[]) { cout << argv[1] << endl; system("pause"); return 0; }
Help will be greatly appreciated,
Thanks in advance,
Guitarist809