what do namespace meant in C++? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

what do namespace meant in C++?

26th Jan 2018, 3:57 AM
himanshu kabra
himanshu kabra - avatar
2 ответов
+ 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