Do you have the development rpms installed for gcc/g++???

On Sat, 5 Feb 2000, Alan Tam wrote:

> Hi all,
>     I am new to Linux and have just installed Mandrake 7.0
>     When I try to compile Hello World as a C++ program in
> Code Crusader, gcc compliants about missing iostream.h
> 
> =========================================
> error message:
> make -k
> 
> g++  -g -Wall -Werror -I- -I. -c hellocc.cc -o hellocc.o
> 
> hellocc.cc:1: iostream.h: No such file or directory
> 
> make: *** [hellocc.o] Error 1
> 
> make: Target `a.out' not remade because of errors.
> 
> 
> Program returned error code 2
> 
> =======================================
> original code:
> #include <iostream.h>
> 
>     int main()
>     {
>         cout << "Hello world !" << endl;
>     }
> 
> 
> 
> How to solve this problem ? Thanks in advance.
> 
> Alan
> 
> 

Reply via email to