|
-
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.
-
Dec 8th, 2002, 02:41 AM
#2
Thread Starter
Hyperactive Member
Oh, come on guys, don't tell me none of you have ever used BCC.
-
Dec 8th, 2002, 06:23 AM
#3
Not many anway. Not the regulars.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|