I need help with compiling/linking c++ programs under gcc 3.0.4 [UW/EE Research Computing #51]

Diego Novillo dnovillo@redhat.com
Thu Mar 7 21:07:00 GMT 2002


On Thu, 2002-03-07 at 23:55, Jeff Silverman wrote:

> #include <fstream.h>
> #include <iostream.h>
> 
> int main()
> {
>   cout<<"hello!"<<endl;
>   return 0;
> }
> 
> jeffs@kittitas /tmp/gcc-3.0.4 583 $ >>gcc ~jeffs/test.cc -o ~jeffs/test
>
Try compiling with 'g++' instead of 'gcc'.

Diego.




More information about the Gcc mailing list