#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,nShowCmd)
{
MessageBox(NULL, L"Hello World!", L"Just another Hello World program!", MB_ICONEXCLAMATION | MB_OK);
return 0;
}
Working through a tutorial for getting started with c++ and can't get the first hello world example to compile.
Using visual studio express 2012. All I've done is create a new project and copy this into it replacing the tmain function.
please does anyone know how to resolve this?