Re: Learning borland.
From: Richard Heathfield (invalid_at_address.co.uk.invalid)
Date: 01/26/04
- Next message: Mike Wahler: "Re: completed my Varaint class."
- Previous message: Richard Heathfield: "Re: completed my Varaint class."
- In reply to: Joec: "Learning borland."
- Next in thread: Chris \( Val \): "Re: Learning borland."
- Reply: Chris \( Val \): "Re: Learning borland."
- Reply: Joec: "Re: Learning borland."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jan 2004 07:10:38 +0000
Joec wrote:
> I have been learning the basics of C++ and I can get some programs to
> fun on dev c++. I try to write simple hello world programs with the
> borland builder and they won't run. How can I start writing simple
> programs with borland?
If you have installed C++ Builder, WELL DONE! It's a wonderful
implementation, and well worth the money.
C++ Builder is of course a GUI-building environment, and you almost
certainly want to write console programs to start off with. So drop to the
command line, find your program code, e.g.
#include <iostream>
using std::cout;
using std::endl;
int main()
{
cout << "Hello, world!" << endl;
return 0;
}
and type this to compile it:
bcc32 foo.cpp
(Unless Borland have mended their conformance issues recently, don't use the
-A switch that turns on conformance because, if you do, bcc32 can't compile
its own headers!)
I've provided this rather raw information in the interests of getting you up
and running quickly, but the other respondents to your article are, alas,
correct; this newsgroup is for helping you learn the language, not how to
drive your implementation.
(Personally, I don't think it does any harm to just tell language-newbies or
implementation-newbies how to get "hello world" running, if someone here
happens to know. Comments, anyone?)
-- Richard Heathfield : binary@eton.powernet.co.uk "Usenet is a strange place." - Dennis M Ritchie, 29 July 1999. C FAQ: http://www.eskimo.com/~scs/C-faq/top.html K&R answers, C books, etc: http://users.powernet.co.uk/eton
- Next message: Mike Wahler: "Re: completed my Varaint class."
- Previous message: Richard Heathfield: "Re: completed my Varaint class."
- In reply to: Joec: "Learning borland."
- Next in thread: Chris \( Val \): "Re: Learning borland."
- Reply: Chris \( Val \): "Re: Learning borland."
- Reply: Joec: "Re: Learning borland."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|