Introduction to OOP: Chapter 11: Replacement and Refinement [next] [previous] [audio] [real] [text]

Constructors always do refinement

class TablePile : public CardPile {
pubic:
	TablePile(int, int, int);
	...
private:
	int column;
};

TablePile::TablePile(int c, int x, int y) : CardPile(x, y)
{
	column = c; 
}
Intro OOP, Chapter 11, Slide 18