what does
using namespace std;
actually mean? ...
What does your book say? Did you search google? Have you made any attempt to answer this trivial question on your own?
In the simplest possible way, it means:
Dear mister compiler,
In this place (or scope), I would like to be using
this namespace
that they call std
. This would really help me because I won't have to qualify everything with std::
in the remainder of this scope.
Thank you.
And then, the compiler will do it. But, beware of the dangers of name-clashes if you abuse this feature.
Agreed with Mike
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.