Exploring Classes in Detail
This chapter will begin our pursuit of object-oriented programming (OOP) in C++. We will begin by introducing object-oriented (OO) concepts and then progress to understanding how these concepts can be implemented in C++. Many times, implementing OOP ideas will be through direct language support, such as the features in this chapter. Sometimes, however, we will utilize various programming techniques to implement object-oriented concepts. These techniques will be seen in later chapters. In all cases, it is important to understand the object-oriented concepts and how these concepts relate to well-thought-out designs, and then have a clear understanding of how to implement these designs with robust code.
This chapter will detail C++ class usage in extreme detail. Subtle features and nuances are detailed beyond the basics. The goal of this chapter will be to allow you to understand OO concepts, and for you to begin to think in terms of object-oriented programming...