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?
You must log in or # to comment.