Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple begginer question, HELP!!!

Status
Not open for further replies.

santeph

Programmer
Feb 10, 2002
1
0
0
US
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.

Jim.
 
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.
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top