0

What is the use and important of including... "Namespace std" c++

14th Sep 2018, 2:14 PM
Yakubu Isaac Dadu
Yakubu Isaac Dadu - avatar
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.
14th Sep 2018, 4:49 PM
mohaddeseh
mohaddeseh - avatar
+ 1
Thanks
14th Sep 2018, 6:36 PM
Yakubu Isaac Dadu
Yakubu Isaac Dadu - avatar