Another question.
I am currently in a computer science class that uses g++ to compile programs.
Now I want to compile some of these programs localy on my computer so I don't
have to remotely log into their linux box to do my work. I tried a test
program that looked like this
#include<iostream.h>
int main()
{
cout << "This is a test";
return 0;
}
and when I do g++ test.cc -o test
I get this error
test.cc:1: iostream.h: No such file or directory
What file libraries/rpms am I missing? Obviously, the compiler can't find the
iostream.h header file. Thanks in advance.
Britt
- [newbie] HERE IS A UTILITY THAT WILL HELP US ALL! Richard Quirk
- [newbie] HERE IS A UTILITY THAT WILL HELP US ALL! Mike Fieschko
- Re: [newbie] HERE IS A UTILITY THAT WILL HELP US AL... David Tabachnikov
- Re: [newbie] HERE IS A UTILITY THAT WILL HELP U... Lance Borden
- Re: [newbie] the g++ compiler Britt Selvitelle
- Re: [newbie] the g++ compiler Stelios Koutrakis
- [newbie] Email programs? Britt Selvitelle
- Re: [newbie] Email programs? Anthony Huereca
- Re: [newbie] Email programs? Dave Gunter
- Re: [newbie] Email programs? flupke
- Re: [newbie] Email programs? Randall Randall
- [newbie] Email programs? Mike Fieschko
- [newbie] VMWare James W. Brodack
- Re: [newbie] VMWare David van Balen
