Summary


This chapter has introduced you to the basics of polymorphism and multiple inheritance. This material, coupled with Chapters 9 and 10, should give you a solid understanding of the basics of object-oriented programming in C++. You will see many of these object-oriented techniques used again and again. Multiple inheritance can be confusing for beginning programmers, so be sure to carefully study this chapter, and work through all the examples. You might even wish to do a few different programs using the same techniques you saw here.

This chapter also tackled some rather advanced topics. Virtual functions, pure virtual functions, and abstract classes are definitely advanced topics. If, as a beginner, your understanding of these topics is a little cloudy, don’t worry. If you did fully understand those concepts, then you should congratulate yourself for mastering a rather difficult concept.




C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom

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