Forum: C++ Jun 4th, 2004 |
| Replies: 7 Views: 17,316 Hi,
My VC++ program compiles only if I add #include<windows.h> in all the files in my project. Is there any way by which I can put the #include directive in a common place? |
Forum: C++ May 27th, 2004 |
| Replies: 7 Views: 17,316 Thanks..the compiler error's gone, however there is a linker error that says:
error LNK2001: unresolved external symbol _main
fatal error LNK1120: 1 unresolved externals
Please help.. |
Forum: C++ May 20th, 2004 |
| Replies: 7 Views: 17,316 I am a beginner to VC++, started just today. I get the same error for my first program:
#include<windows.h>
int_stdcall WinMain(HINSTANCE i, HINSTANCE j, LPSTR k, int l)
{... |