Introduction to OOP Chapter 27: Implementation : next previous audio real text

The Corresponding Formal Argument

On the other side, the receiver pseudo-variable is just a formal argument:

Instead of

void CardPile::addCard (Card * aCard) {
	...
}
We have
void addCard (CardPile * this, Card * aCard) {
	...
}
The first argument can then be used to access data members and other methods.
Intro OOP, Chapter 27, Slide 04