I\'d like to use toString with class argument, but for some reason there is an error. The code is:
Animal.h
#include \"Treatment.h\" #in
You've not used std namespace in both header files.
std
So, use std::string instead of string. Because string is defined in std namespace.
std::string
string
Simillarly use std::vector instead of vector.
std::vector
vector