Question related to namespace | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 1

Question related to namespace

what is namespace. is it easier than using void

1st Nov 2017, 3:45 AM
3 Antworten
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