Results 1 to 3 of 3

Thread: Borland C++ Compiler/vIDE problems

  1. #1

    Thread Starter
    Hyperactive Member Comreak's Avatar
    Join Date
    Feb 2001
    Location
    Dis
    Posts
    319

    Question 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.

  2. #2

    Thread Starter
    Hyperactive Member Comreak's Avatar
    Join Date
    Feb 2001
    Location
    Dis
    Posts
    319
    Oh, come on guys, don't tell me none of you have ever used BCC.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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
  •  



Click Here to Expand Forum to Full Width