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.
> # =
-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
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
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
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
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
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
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
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.
> =
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.
> =
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
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 page23.cpp
#include
int m
12 matches
Mail list logo