int WINAPI WinMain(HINSTANCE hinstance, HINSTANCE hprevinstance, LPCSTR lpcmdline, int nshowcmd)
You also need to include Windows.h, and when you're posting code, using the
, remember to omit the spaces in the tags.Oh, and to draw text inside a window, you use the TextOut() function. Look that up in MSDN.