Good $daytime,

> Date: Sat, 29 Aug 1998 14:05:15 -0300
> From: Hernan Berinsky <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: C++ in Linux

> =09I want to code in C++ with gcc (using cin, cout, classes,
> etc.), in Turbo C++ I include iostream.h, but I didn=B4t found it in
> /usr/include/..  How can I compile a C++ source?

Well,

| willy@snowyowl:~$ locate /iostream.h
| /mnt/dos/C/borlandc/include/iostream.h
| /usr/include/g++/iostream.h

As you can see, iostream.h is somewhere near, at least in my PC.  But
the proper compiler name for C++ is g++, not gcc.  Yes you _can_ do
this with gcc, but it does not look for ++ includes and libraries by
default.

Didn't you forget install C++ developmrnt libraries?

  Regards,
  Willy.

--
"No easy hope or lies        | Vitaly "Willy the Pooh" Fedrushkov
 Shall bring us to our goal, | Information Technology Division
 But iron sacrifice          | Chelyabinsk State University
 Of Body, Will and Soul."    | mailto:[EMAIL PROTECTED]  +7 3512 156770
                   R.Kipling | http://www.csu.ac.ru/~willy  VVF1-RIPE


Reply via email to