|
-
Dec 7th, 2002, 06:45 AM
#1
Thread Starter
Hyperactive Member
Borland C++ Compiler/vIDE problems
I'm guessing the problem doesn't having anything to do with vIDE. I followed the instructions for setting up BCC with vIDE (made all the cfg files and added switches to them). Whenever I attempt to compile something, I get the following error:
Unresolved external '_main' referenced from D:\BCC55\LIB\C0X32.OBJ
Yes, I defined my main function properly ("int main()"). I can't figure out what's causing this. Any help is appreciated.
Oh, and here's the rest of my code incase it helps (I know it's simple, I'm only testing out the compiler):
Code:
#include <iostream.h>
int main()
{
cout << "Hello, World! \n";
cin.get();
return 0;
}
edit:/Whoops, Forgot the last curley brace. Yes, it was in the code to begin with, just forgot to enter it here.
Last edited by Comreak; Dec 7th, 2002 at 06:48 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|