In this chapter, you learn fundamental concepts in Object-Oriented Programming using Visual C++. You are introduced to new programming concepts, including abstraction, encapsulation, and polymorphism.
You also learn more about objects and classes. This includes a look at classes within the .NET Framework and those you can create yourself. In addition, you learn how to use custom classes to store and protect the data and provide custom functionality. You also have an opportunity to create another Visual C++ application, this one based on the classic children's game Rock, Paper and Scissors.
In this chapter, you learn the following:
What Object-Oriented Programming is
How to define custom classes
How to instantiate objects based on your custom classes
How to set up method overloading within custom classes
How to provide controlled access to the data stored within objects