-
#include <iostream> ?
When I include <iostream> instead of iostream.h, I put in using namespace std. Then my compiler (Borland), gives me an error saying:
Error: test.cpp(5,1):Namespace name expected
But I get no error with normal iostream.h . It is very discouraging to try to get used to iosteam, while getting the same error over&over!
:mad:
:cool: Stan The Man :cool:
-
-
-
hmm...don't get that error with 5.5; sorry, i can't help you, maybe someone else can.
-
How are you putting the line in? It sounds like this is what you're doing:
Code:
using namespace std
It should be:
Code:
using namespace std;
Just making sure :)
-
Thx
Thx Hunter, I'm so stupid!:D
-
Mine does that even when I enter it correctly, stupid peice of crap...
-
older versions of borland can't use the new header files.