0
Why do we use 'namespace std'??
4 Answers
+ 1
In my 12th standard when I did programming in c++ we neither use std:: in any situation
+ 1
thank you very much!!
0
To avoid putting std:: in front of lots of words.
For example :
cout << "hello world" << endl
is in fact :
std::cout << "hello world" << std::endl
So we put "using namespace std;" to simplify
0
because it defines that standard c++ library is to be used



