C & C++
the_tech_beast
•
3y ago
•
100%
What is the purpose of 'using namespace std' in C++?
cross-posted from: https://lemmy.ml/post/70930
I am learning C++ and in my book
using namespace std
is written in every program. I understand thatstd::cout <<"hello";
can be simply written ascout << "hello";
by using namespace std.Why?
Comments 3