what do namespace meant in C++? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

what do namespace meant in C++?

26th Jan 2018, 3:57 AM
himanshu kabra
himanshu kabra - avatar
2 Respuestas
+ 3
A namespace is a declarative region that provides a scope to the identifiers (the names of types, functions, variables, etc) inside it. Namespaces are used to organize code into logical groups and to prevent name collisions that can occur especially when your code base includes multiple libraries.
26th Jan 2018, 5:11 AM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar