mardi 29 novembre 2016

In c++ what do you call a member function that follows a member function and how do I write one?

In c++ what do you call function that follows a member function and modifies the return value and how do I write one?

In other words how do I successfully write:

std::cout << box.getVolume().inCubicFeet();

std::cout << box.getVolume().inCubicCentimeters();

Aucun commentaire:

Enregistrer un commentaire