I have bought a book for C++ and in some examples has the following code:

#include <cstdlib>
using std::exit;

int main()
{
.....exit(1);
}

I use Visual C++ 6 and when I compile this code it produces this error:
"error C2039: 'exit' : is not a member of 'std' "

When I delete " using std::exit",the source code is compiled without any errors.

Why is that?Microsoft Visual C++ 6 defines in a different way the std namespace so as not to include exit?