I want to do something simple: check what a parameter is.
void _tmain(int argc, WCHAR *argv[])
{
if(argv[4] == "-h");
{
//do stuff
}
}
I am getting an incompatible error from WCHAR * to const char *.
Such a conversion question has been asked, but the answers I have found are many and not simple. I am a total newbie at C++.
What I am looking for is not pointers to some complicated functions, but rather the actual code to put into my program to make it work.
Just looking for something simple, straightforward, working code. Thanks!