Distance.h:54: error: ISO C++ forbids declaration of ‘ostream’ with no type Distance.h:54: error: ‘ostream’ is neither function nor member function; cannot be declared friend Distance.h:54: error: expected ‘;’ before ‘&’ token