i have entered this particular code in vc++ 2010:

int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPInstance,LPSTR i,int j)
	return 0;

showing error like this:

1>LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
1>D:\projects\sandeep\Debug\sandeep.exe : fatal error LNK1120: 1 unresolved externals

please help me. how do i debug this code? what's the error?

You have created a Win32 Console Project . Select Win32 Project