You wrote,
>
>#include <iostream.h>
>main()
>{
>   cout << "Hello!\n";
>   return (0);
>}
>
>
>From what I can tell, the g++ command has been removed
>and merged with gcc, which I guess does both c and
>c++.  The name of the above program is hello.cc  I
>have tried to compile this by typing in:
> 
>gcc hello.cc
>
>but all I get is:
> 
>hello.cc:1: iostream.h: No such file or directory. 

Hmm.  Are you SURE there's no "g++" command, and/or no "c++" command?  If so,
then it's possible that C++ was never installed on your system.

Look in the subdirectories under /usr/lib/gcc-lib.  About two more
subdirectories down (on my machine they're in
/usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66), you should find some
executables.  There should be one called "cc1plus"...if there isn't, then
C++ isn't installed.

               - Neil Parker, [EMAIL PROTECTED]

Reply via email to