In-Class Example: Splitting Up Our Orbit Code
Let’s go back to our Example: Planetary Orbit code and split it up into
a header and a .cpp
file.
The header should define the OrbitState
struct and have all of the
forward declarations of the functions.