Quantcast
Viewing all articles
Browse latest Browse all 5

Using namespaces in C++

Namespaces can be considered as abstract containers that hold different entities – functions, variables, classes and objects. Since C++ provides a single global namespace, without the use of user defined namespaces the chances of global name clashes is pretty big. Consider the following situation. We wish to use to different libraries and include them like [...]

Viewing all articles
Browse latest Browse all 5

Trending Articles