Hi everyone.....
I am using red hat linux server 5.1, and all the packages are installed.
I dont have "list.h" (header file) in my gcc comipler, as well as the "cout" command gives me error while compiling.
this is the message i get when i type yum install gcc-c++
"Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/i386/Debuginfo/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-debuginfo. Please verify its path and try again"
and similarly when i typed g++ -v i got the message :
Well, apparently g++ is already installed.
So to come back to your first post: there is no file called list.h in C++. If you want to use std::list, its header is called "list".