Can someone please explain this piece of code:
I don't understand what the last 3 things of it mean.Code:int WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR, INT) { }
This is a discussion on please explain within the C++ Programming forums, part of the General Programming Boards category; Can someone please explain this piece of code: Code: int WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR, INT) { } I don't ...
Can someone please explain this piece of code:
I don't understand what the last 3 things of it mean.Code:int WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR, INT) { }
It means that the function takes three parameters that it doesn't actually use for anything. The names given are the types of the respective arguments.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.