OK, what i want to do is this: recall a long time ago when half life 1 came out the only way to enable the dev mode was to do this: Appname -Devmode.exe. is that even worth it or should i just not do it cause i tried this:

Code:
if(argv[0] == -DevMode)
{
       cout << "Hello" << endl;
}
but that didn't work :-( also i was wondering if theres a way to set the name of the exe
in the code it self.

Like:


[code]

void setExeName(const char* AppName); and it creates that EXE with that name. i don't mean creating a file with the extention of .exe i mean making the compiler be able to set the name of the exe through code. I hope i'm makling sense