Re: c++ hello world help

2004-05-27 Thread Micha Feigin
On Thu, May 27, 2004 at 07:09:54AM -0400, Lorenzo Prince wrote: > Thus spake Kevin Mark: > # gcc works with C programs. > # but c++ programs cant find the libs. and use g++ for c++ it has some extra definitions for where the c++ libraries and headers are located. > # =

Re: c++ hello world help

2004-05-27 Thread Lorenzo Prince
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thus spake Kevin Mark: # gcc works with C programs. # but c++ programs cant find the libs. # = # # ~/cpluscplus\% cat page23.cpp # #include # int main() { cout << "Hello, World!\n"; return 0; } Tr

Re: c++ hello world help

2004-05-26 Thread John L Fjellstad
Additional to what Muller wrote, you also need a good, modern C++ book. I like the C++ Primer by Lippman (I think). -- John L. Fjellstad web: http://www.fjellstad.org/ Quis custodiet ipsos custodes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble

Re: c++ hello world help

2004-05-26 Thread Sylvain Vedrenne
On Wednesday 26 May 2004 22:07, Sylvain Vedrenne wrote: SV> Hello Kevin, SV> SV> You might find this page interesting: SV> http://www.research.att.com/~bs/compilers.html And this page is really worth looking at! http://www.research.att.com/~bs/bs_faq2.html#simple-program Cheers, Sylvain. SV> SV

Re: c++ hello world help

2004-05-26 Thread Sylvain Vedrenne
Hello Kevin, You might find this page interesting: http://www.research.att.com/~bs/compilers.html It talks about standard ISO C++ and compilers. By the way, GCC sure is a good choice for learning (_and_ for much more!). Cheers, Sylvain. On Wednesday 26 May 2004 09:47, Kevin Mark wrote: KM> Hi

Re: c++ hello world help

2004-05-26 Thread Alan Shutko
Harshwardhan Nagaonkar <[EMAIL PROTECTED]> writes: > (Maybe I should buy new textbooks and spend more instead of using > cheaper, used textbooks :) For C++, that's a very, very good idea since the language changed significantly during standardization. -- Alan Shutko <[EMAIL PROTECTED]> - I am t

Re: c++ hello world help

2004-05-26 Thread Harshwardhan Nagaonkar
Martin Dickopp wrote: Kevin Mark <[EMAIL PROTECTED]> writes: ~/cpluscplus\% cat page23.cpp #include int main() { cout << "Hello, World!\n"; return 0; } The complier correctly diagnoses that the program uses antiquated language features. This is a friendly reminder that if the last seven or mor

Re: c++ hello world help

2004-05-26 Thread Lorenzo Bettini
Bostjan Muller wrote: Kevin Mark wrote: #include int main() { cout << "Hello, World!\n"; return 0; } ~/cpluscplus\% g++ page23.cpp In file included from /usr/include/c++/3.3/backward/iostream.h:31, from page23.cpp:1: /usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This fil

Re: c++ hello world help

2004-05-26 Thread Martin Dickopp
Kevin Mark <[EMAIL PROTECTED]> writes: > Hi D-u, > I'm trying to get gcc to compile some basic c++ programs and I'm running > into some probably some really basic setup mistakes. > gcc works with C programs. > but c++ programs cant find the libs. > =

Re: c++ hello world help

2004-05-26 Thread Cameron Hutchison
Once upon a time Kevin Mark said... > Hi D-u, > I'm trying to get gcc to compile some basic c++ programs and I'm running > into some probably some really basic setup mistakes. > gcc works with C programs. > but c++ programs cant find the libs. > =

Re: c++ hello world help

2004-05-26 Thread Bostjan Muller
Kevin Mark wrote: > Hi D-u, > I'm trying to get gcc to compile some basic c++ programs and I'm running into some probably some really basic setup mistakes. > gcc works with C programs. > but c++ programs cant find the libs. > ===~/cpluscplus\% cat pag