You need a modern compiler. "iostream.h" is a C header. C++ headers have no extension.
NerdTastic wrote:
1 2 3 4
namespace std
{
#include <cstdlib>
};
That would only cause more errors. As you know, #include in-lines files. This would mean the std namespace would reside in the std namespace. Of course, this isn't good.
VC6.0 is a reasonable environment to learn C++. The template spec it implements isn't what we'd expect now and there are bugs in the containers and other limitations. But the environment is sufficient for what you're doing.
You're not exactly following the advice that's been given. You're still using iostream.h and you probably don't need string.h.