VC++ help in a simple progam

hi
I just wrote a simple program to show a message box in vc++ it compiled without any error but showed 2 errors while building .....as am new to vc++ i couldn't solve it ....need help pls

Program is

#include
int _stdcall WinMain(HINSTANCE hInstance,HINSTANCE hPervInstance,LPSTR lpszCmdline,int nCmdShow)
{
MessageBox(0,"Hello","Hello title",0);
return(0);
}


Error's are as shown below

unresolvable external symbol _main
1 external externals

thank u
rahul

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories