This is an old revision of the document!
Corning Community College
CSCS1320 C/C++ Programming
Collaborate in the creation of a useful, originally-voiced informational source on the various aspects of C++ programming, specifically polymorphism, and the implementation of a simple program that has and uses classes with polymorphism.
Additionally, the entire class will be participating in documenting and filling out this project page. It is the responsibility of EACH class member to:
Compile time polymorphism is achieved by overloading. This can be in the form of operator overloading, function overloading, or with templates.
Run time polymorphism is achieved by overriding. Overriding occurs when a child class redefines a parent class's member function.
Using the virtual keyword marks your functions as virtual. Virtual functions always call the most derived version of a member function.
Write a program that makes use of polymorphism. It can be anything, so long as you genuinely implement it and it works.
Be sure to make use of and follow proper conventions having public, protected, and private access control (no cheating by making everything public), and demonstrate polymorphism.
Have a main() function that instantiates an instance of your chosen theme of class with polymorphism, and runs that instantiated object through a range of tests demonstrating the class works as intended (likely also prompting the user to input any needed values to configure the attributes of the object).
I'll be looking for the following:
104:oop2:final tally of results (104/104) *:oop2:no compiler messages, program compiles and runs without issue [26/26] *:oop2:specified functionality is implemented [26/26] *:oop2:project page contributions as per project specifications [52/52]
Additionally: