#include <iostream.h> //"iostream.h" also doesn't work
main()
{
cout >> "test";
return 0;
}
What's wrong you ask? Nothing, exept the fact that any program I run with a Header file will say "Unable to open ... header file".
Is it my version of the Compiler?
Is it locations of the Header files?
I do have a disk in the drive. I do have the iostream header file in the disk and on my computer. The problem occurs with every header file attempted to head.
Any answers, ideas, comments, suggestions, concerns, problems, cookies, please post here or email me at [removed] or [removed].
All definitions in the standard library (of which iostream is a part) are inside the namespace std. usingnamespace std; tells the compiler anything you use is possibly located in the std namespace. Instead of doing this, you could use std::cout, adding std:: in front of anything you use that is in the standard library.