Search⌘ K

- Exercises

Explore practical exercises to extend distance units and calculate weekly travel distances using Modern C++ for safety-critical embedded systems. Learn how to define units, manage calculations, and apply safety features effectively in your code.

We'll cover the following...

Task 1

Extend MyDistance from the previous example to support the following units:

  1. Feet (ft)

    • 1ft=0.3048m1 ft = 0.3048m
...