Chapter 8
Object-Oriented Programming with Classes
The preceding part of this book covered a programming paradigm known as procedural programming. This part introduces the concept of object-oriented programming (OOP). Procedural programming was the major paradigm supported by the C programming language. The C++ programming language was conceived to support OOP in the same syntax as a C programming language.
This chapter covers the major techniques behind designing OOP-based programs and then takes a look at the class.
Object-Oriented Programming
Writing computer programs in the OOP style involves thinking about our programs at a high level. So far you have been looking at low-level programming concepts such as deciding on which variables ...
Get Learn C++ for Game Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.