This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]