Namespace in C++

cpp
software-engineering
namespace
(Team) #1

Namespaces allow us to group named entities that otherwise would have global scope into narrower scopes, giving them namespace scope. This allows organizing the elements of programs into different logical scopes referred to by names.

Read this article to understand Namespace in C++ in depth

Have a doubt or thought? Join the discussion now


This is a companion discussion topic for the original entry at http://iq.opengenus.org/namespace-cpp/