Re: Learning borland.
From: Joec (joec_at_annuna.com)
Date: 01/27/04
- Next message: Joec: "Re: Writing an OO program."
- Previous message: Admiral Krieg: "Re: Newbie Q: Calling Dlls"
- In reply to: Richard Heathfield: "Re: Learning borland."
- Next in thread: Buck Rogers: "Re: Learning borland."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jan 2004 23:31:13 GMT
Richard Heathfield wrote:
> 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?)
>
I have tried that. Thanks for the pointer I will post my question to
the approate group. This for C++ beginners and I was just looking for a
place to start.
- Next message: Joec: "Re: Writing an OO program."
- Previous message: Admiral Krieg: "Re: Newbie Q: Calling Dlls"
- In reply to: Richard Heathfield: "Re: Learning borland."
- Next in thread: Buck Rogers: "Re: Learning borland."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|