C++ error: Undefined symbols for architecture x86_64
Your compiler error is coming from the fact that your signature for the forward declaration of _num_steps does not match the signature of your definition of _num_steps. the type of steps_list does not match Change your prototype line to: