Search⌘ K
AI Features

- Exercises

Explore exercises that deepen your understanding of C++ literals by extending the MyDistance class to include feet and miles units. Learn to implement calculations combining multiple distances in meters and kilometers, enhancing your practical skills with user-defined types.

We'll cover the following...

Exercise 1

Extend the MyDistance class we saw in the previous lesson to support the following units:

  • ...