N
ncstate
it seems when i try to compile this simple code I get an error message i
believe is from g++ not finding the IOSTREAM header file. i found the
header file in /usr/include/c++/3.2.2/ so that is why it is included
like that. suggestions?
I'm running red hat 9
code :
#include </usr/include/c++/3.2.2/iostream>
int main()
{
cout << endl << endl << "Jeff" << endl;
cout << "E115 Sec 010 B" << endl;
cout << "Hello World" << endl << endl << endl;
return 0;
}
errors:
project2.C: In function `int main()':
project2.C:6: `cout' undeclared (first use this function)
project2.C:6: (Each undeclared identifier is reported only once for each
function it appears
believe is from g++ not finding the IOSTREAM header file. i found the
header file in /usr/include/c++/3.2.2/ so that is why it is included
like that. suggestions?
I'm running red hat 9
code :
#include </usr/include/c++/3.2.2/iostream>
int main()
{
cout << endl << endl << "Jeff" << endl;
cout << "E115 Sec 010 B" << endl;
cout << "Hello World" << endl << endl << endl;
return 0;
}
errors:
project2.C: In function `int main()':
project2.C:6: `cout' undeclared (first use this function)
project2.C:6: (Each undeclared identifier is reported only once for each
function it appears