turboC++/Borland builder5 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.
Jim.
Re:turboC++/Borland builder5 help!!!!
I tried that and had no luck. No matter I open a new one, it still opens it with code on it.
Re: turboC++/Borland builder5 help!!!!
This is the code:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
Re: turboC++/Borland builder5 help!!!!
Thanks a lot I GOT IT! I guess I'll have to play with it more so I can figure out how it works.
Thanks Again!!!!