// Methode print der Klasse ratio mit this
void ratio::print ()
{
printf ("%d/%d",this->z, this->n);
}

Bild 3-6: Arbeiten mit "this"