Ok,
I've been using Linux for about 1 year now, and 1 thing that has always 
worked right out of the box is the gcc compiler... until now.
installed redhat 8.0 and it won't compile c++ programs...
not even hello world

#include <iostream>

int main()  {
  cout << "Hello World\n";
  return 0;
}

when I compile that it says "undeclared function cout".
if I include iostream.h, it compiles successfully but complains because 
iostream.h is deprecated.  What gives? why's it broken? I've got iostream in 
my usr/include/c++/3.2 directory it should work, but it doesn't.

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to