Borland C++Builder 3!!!

This is a discussion on Borland C++Builder 3!!! within the C++ Programming forums, part of the General Programming Boards category; Hi, Sorry if this isnt a correct place to post it. But I need help. Ok...Im inexperienced in programming, so..Im ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    5

    Unhappy Borland C++Builder 3!!!

    Hi,

    Sorry if this isnt a correct place to post it. But I need help.

    Ok...Im inexperienced in programming, so..Im trying to lern with the tutorial. I only have the Borland C++ Builder 3, Is it work well? When I try compiler I receive this error:

    [LinkerError] Unresolved external '_Form1' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER3\PROJECTS\PROJECT1.OBJ.
    [LinkerError] Unresolved external 'TForm1::' referenced from D:\PROGRAM FILES\BORLAND\CBUILDER3\PROJECTS\PROJECT1.OBJ.

    Can you please help me....and sorry for it... (

  2. #2
    Unregistered
    Guest
    post some of the code, that might help.
    Does it point at some lines where the problems exist?

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    5
    I write equal to the Tutorial:

    #include <iostream.h>
    int main()
    {
    cout<<"HEY, you, I'm alive! Oh, and Hello World!";
    return 0;
    }

    And I save it exemple.cpp.

    Also I tried Goes to the bin directory, and type in: bcc32 exemple.cpp

    I received this erro:

    D:\Borland\BCC55\Bin>bcc32 exemple.cpp
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    exemple.cpp:
    Error E2209 exemple.cpp 1: Unable to open include file 'iostream.h'
    Error E2141 exemple.cpp 3: Declaration syntax error
    *** 2 errors in Compile ***
    __________________________________________________ __

    TKS

  4. #4
    Unregistered
    Guest
    strange...are the .h files under the rigth directory?
    I mean, do a search, are files like conio, iostream, dos, etc present? Extension don't really matter, but can you find them.
    They should be under \INCLUDE\

    when did you started using BC++ ?
    Why interested?
    Just curious, I started last year in november, also with BC++ 3.0
    I am still a newbie I guess

    greets,

    Mith

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    5
    Yes, I have this files in \include\


    I use BC++ because I doesnt have other compiler, Do you have other idea or another compiler?

    I like c++, because I want program games in Directx and Opengl.

    []

    TKS a Lot

  6. #6
    Unregistered
    Guest
    DirectX and OpenGL, I see

    Btw, the compiler you're using, is that the Borland Compiler (Turbo C) that has the looks and feel of a DOS-program?
    Cause that one isn't very advised t use for OpenGL or DirectX.
    I might be telling this what you allready know, so I guess you're using it to learn the language?

    It a pitty you allready have these problems with the language at this stage, as the code is just perfect, it should deff work.

    Do you have e-mail?

  7. #7
    Unregistered
    Guest
    Btw, if it would work int he meantime, try this code:

    #include <iostream.h>
    #include <conio.h>

    int main()
    {
    cout<<"HEY, you, I'm alive! Oh, and Hello World!";
    getch();
    return 0;
    }

    The conio header lets you use the getch() command, which simply shows the stuff on your screen and waits for a key to be pressed.
    If you don't use it, it might bother you that it's so fast thatyou don't see it on your screen. Cause what your program does is actually this:

    Load header stuff 10ms
    Write to screen 20ms
    return 0 5ms
    close program 10ms

    Just a matter of speech, but it's over in a couple of milisecs and if even the program can be long, but if you blink it could be over by then

    I guess you're following the tutorials one by one?
    Any other languages you know? Or can you script anything?

  8. #8
    Registered User
    Join Date
    Jul 2002
    Posts
    5

    Smile

    Hoho...Its work.....!



    >> I guess you're following the tutorials one by one?

    Yes, I'm try follow the tutorials on by one.

    >> Any other languages you know? Or can you script anything?


    I learned Pascol and javascript, I know the basic this.... I have easiness to learn it, but here doesn't have best books about c++

    Do you know more sites and tutorials?


    []s

  9. #9
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    It sounds like you confusing the hell of the compiler by using a main loop. It is expecting to compile a VCL based win app, hence its complaints about not finding TForm.

    If you want to write a console application, you need to specifically create your new project as a console application.

  10. #10
    Akilla
    Guest

    BCC32.CFG

    From the bin directory of your installation: Create a bcc32.cfg file, which will set the compiler options for the Include and Lib paths, and add these lines:

    -I"c:\Borland\Bcc55\include"
    -L"c:\Borland\Bcc55\lib"
    Do this and compile... it should work.

    COOL PROGRAMS @ WWW.AKILLA.TK

  11. #11
    Unregistered
    Guest
    Originally posted by Redbio
    Hoho...Its work.....!



    >> I guess you're following the tutorials one by one?

    Yes, I'm try follow the tutorials on by one.

    >> Any other languages you know? Or can you script anything?


    I learned Pascol and javascript, I know the basic this.... I have easiness to learn it, but here doesn't have best books about c++

    Do you know more sites and tutorials?


    []s
    If you supply your e-mail adres for IM or mail, we can get into contact. I can help you with the basic tutorials to a certain point.
    As you are familiar with Pascal, I think you might be able to help me out on other stuff, perhaps Pascall which I don't know.

  12. #12
    Registered User
    Join Date
    Jul 2002
    Posts
    5
    Hi, thanks for your help. My e-mail is redbio@ig.com.br.

  13. #13
    Unregistered
    Guest
    TRY NOT CREATING A NEW PROJECT, BUT SAVING YOUR SOURCE AS .CPP THEN OPEN THE CPP ITSELF, I KNOW WHEN I STARTED THAT I HAD FORMS ERRORS WHEN I JUST CREATED A PROJECT. IF YOU IMPORT THE .CPP, THEN BORLAND WONT AUTOMATICALLY CREATE A FORM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. THE END - Borland C++ Builder, Delphi, J Builder?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-28-2006, 10:23 PM
  2. Converting from Borland Builder -> MSVC++ guide?
    By _Elixia_ in forum Windows Programming
    Replies: 4
    Last Post: 08-02-2003, 09:00 AM
  3. TAutoObject: Builder 1.0 vs. 6.0
    By pimming in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2003, 10:47 PM
  4. Dynamically programme in C++ Builder..Help
    By Gugge in forum C++ Programming
    Replies: 2
    Last Post: 08-01-2002, 12:14 PM
  5. borland c++ builder 6 trial
    By Klinerr1 in forum C++ Programming
    Replies: 3
    Last Post: 06-12-2002, 11:59 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21