10. Classes and Objects
One of the most fascinating topics in C++ is object orientation. Once you understand it and have written a few programs using the object-oriented-programming (OOP) techniques, it becomes a natural way to program. However, the concepts are subtle and challenging at first.
Object orientation is, above all, a way of approaching analysis and design. There are some helpful tools in C++, but they work only as long as you understand what OOP design is all about.
As I’m going to show in the next six chapters, there are many projects that would be much harder to do without the object-oriented approach.
OOP, My Code Is Showing
Object-oriented programming (OOP) is a modular approach to programming: it creates groups of closely related ...