Hey im currently learning how to program and i have 1 problem:
ok when i put this code:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK | MB_SYSTEMMODAL);
return 0;
}
in .cpp file format and compile it i get : ( in Borland C++ Compiler 5.5)
Error: Unresolved external '_main' referenced from D:\BORLAND\BCC55\LIB\C0X32.OB
J
My Borland is inatalled in: D:\Borland\BCC55 if that helps.
i got that code form a tutorial ( i am trying to make a plain windows window as a start ).
i dont know what happened...maybe i set some path wrong or something? please help me i would really appreciate it thank you.