Ok, i'l explain.
A namespace is like a word before every function in it to avoid
that it has the same name as another function.
demonstartion, whe want 2 integers, and whe want both of
them to be called name,but thats not possible so whe use a
Easy as that, of course this long from everything but this are just
using namespace std;
cout << tom::age; // Print the age int stored in the namespace tom
cout << pete::age; // Print the age int stored in the namespace pete
As for the 'using namespace std;' , that just means you dont have to put 'std::' before everything you want to use for that namespace.