0
What is the use and important of including... "Namespace std" c++
2 ответов
+ 1
That includes stuff like cout, cin, string, vector, map, etc.
forexample:
cout << “Hello Yakubu Isaac.” << endl;
// Here it is necessary to put ‘using namespace std’ on the top of code.
std::cout << " Hello Yakubu Isaac” << std::endl;
// Here there is no need to put ‘using namespace std’ on the top of code.
+ 1
Thanks