O'Reilly logo

Visual C++ 2008: How to Program, Second Edition by D. T. Quirk, H. M. Deitel, P. J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Object-Oriented Programming: Polymorphism

 

One Ring to rule the mall, One Ring to find them, One Ring to bring them all and in the darkness bind them.

 
 --John Ronald Reuel Tolkien
 

The silence often of pure innocence Persuades when speaking fails.

 
 --William Shakespeare
 

General propositions do not decide concrete cases.

 
 --Oliver Wendell Holmes
 

A philosopher of imposing stature doesn’t think in a vacuum. Even his most abstract ideas are, to some extent, conditioned by what is or is not known in the time when he lives.

 
 --Alfred North Whitehead

OBJECTIVES

In this chapter you’ll learn:

  • What polymorphism is, how it makes programming more convenient and how it makes systems more extensible and maintainable.

  • To declare and use virtual functions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required