c++ definitions and explanations help
the beginner tut. tells me some defintions and reasons of some stuff inside the code
Code:
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello,World!\n";
cin.get();
}
But i was wondering what the std in namespace has to do w/ anything. i left it out and tried to compile it, but i got an error i didn't understand. so could someone tell me what the std is actually for and why it's needed? and maybe the difference between adding the code and not adding it? thanks!