Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
4 Cards in this Set
- Front
- Back
Derivation list for a class "Rectangle" inheriting from "Shape" |
class Shape {...} class Rectangle: public Shape {...} |
|
Constructor for the following derived class: class Base { Base(int id_arg, char* name_arg): id(id_arg), name(name_arg) } class Derived { } |
class Derived { Derived(int some_argument) : Base( } |
|
What do you need to include in your program to get std::cout and friends? |
#include <iostream> |
|
When must your class have a virtual destructor? |
When it is a base class for any other class. |