Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Simple begginer question, HELP!!!

Simple begginer question, HELP!!!

Simple begginer question, HELP!!!

Hi I just started learning C++. The compiler I use in college is turbo C++ and at home I'm testing the free trial of Borland builder enterprise. All I use in school is #include<iostream> and main() in a very simple program that calculates the of sum a+b.
When I open Borland builder, there's already some code on it, if I delete it, I get compile errors; If I leave it and put my little program below, it compiles but the .exe file that comes up doesn't work at all.
This same program was ran perfectly by Turbo C++ and the .exe file worked well. Any one have any ideas on how to work with Borland builder enterprise to do the simplest programs?
Any feedback is very well appreciated.


RE: Simple begginer question, HELP!!!

that is because borland builder try to build a form. you have to click on new and open a console aplication, and then normaly type in your code. that should work.

RE: Simple begginer question, HELP!!!

Another way to build a console app is to use your favorite editor to create the code then compile it from the command prompt. See your help for command line programs including bcc32 and linker32.

James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close