This preview shows page 1. Sign up to view the full content.
Unformatted text preview: The getName() and getRating() routines within the base class Game will be called, *not* the routines within ElectronicGame and BoardGame. The reason is because getName and getRating are not declared virtual in the Game class. This point was emphasized many times during the July 5th and July 7th lectures, but I am posting this correction in case you missed these two lectures, as this is an important point to correct in your notes....
View Full Document
This note was uploaded on 12/08/2011 for the course CS 246 taught by Professor Wormer during the Spring '08 term at Waterloo.
- Spring '08