Chapter 9: Getting Comfortable with Object-Oriented Programming


OVERVIEW

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




Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
ISBN: 735615381
EAN: N/A
Year: 2005
Pages: 131

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net