hello guys!
i’m not so good in english… so don’t wonder ^^
well…
i want to learn how to program with OpenGL.
i started with some Win32 applications… i made a simply window which doesnt screens anything…
well… my question is:
what is the type LPSTR in the WinMain function?
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nShowCmd)
{
return 0;
}
and what is the last parameter for? “int nShowCmd”
please explain what LPSTR is doing exactly and what is “int nShowCmd” for?
:rolleyes: