ehab samir aziz <hpy_azizy@xxxxxxxxx> writes: > there is aproblem os using the command cout under gcc. > How I use it . What is the name of the header file / In ISO C++98 (that is, as of 5 years ago), cout is used like this: #include<iostream> #include<ostream> int main() { std::cout << "Hello!" << std::endl; } This example compiles correctly under every version of gcc >= 2.95 . If you were not taught about namespaces, or about std::, which is the namespace all standard library functions and objects are in, your book or instructor has cheated you. (If this is not your problem, please post a better description of your problem. )