Want to know more about namespaces

Hello, I have come across this section in the course and would like to know more about these two expressions and in general more about namespaces and their purpose.

Also, I am a beginner so please use simple terminology for my stupid brain. Thank you!

I cant exactly comment on the 2 expressions( I am not that familiar with c++. more with c#) but think of namespaces like groups. So if I group a bunch of classes in something called combat, all the classes in that group know about each other. If I am in another group called attributes they dont know about the combat group classes. If I use a statement using combat; in a class then that class will know about that group. I hope this helps you with your journey.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms