Question related to namespace | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 1

Question related to namespace

what is namespace. is it easier than using void

1st Nov 2017, 3:45 AM
Deepam
3 ответов
1st Nov 2017, 3:51 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
I can't answer, it is depending on the context. If namespace is useful in shortening the code complexity, go ahead. Else, just don't use it. From the logical perspective of a programmer (I can't code in C++ though) I think what I said is right
1st Nov 2017, 4:30 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
so should I use namespace or not
1st Nov 2017, 3:55 AM
Deepam