Game Development Reference
In-Depth Information
Namespaces are another essential source code management technique. Where source files allow us
to group similar functions into files, namespaces provide a method for communicating these types
of groupings to the compiler. It is more common for namespaces to span multiple files and be used
to contain the functionality needed to represent an entire module of code. Code modularity is an
important concept that we will look at more and more as we progress.
This chapter brings us to the end of our look at procedural programming in the C style using C++.
The next part of the topic covers object-oriented programming and specifically looks at the concept
of classes, how they are created and used, how we inherit from classes, and how we can use
polymorphism.
Search WWH ::




Custom Search