I have a question about c++ programming on Linux that
I am hoping someone can help me out with.  I am
currently trying to compile and run the following c++
program on my Mandrake Linux OS:


#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. 

I would appreciate any help as I am new with both c++
and linux.  Thanks.

-Eric Haan, the new guy from UofO.




__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

Reply via email to