You're trying to overload an ostream& so your first parameter should be an ostream& not a std::string&
Thanks that helped a lot, now what should I replace stream with as that is producing the error "stream was not declared in this scope"?
What did you name the ostream& parameter? Maybe use that?
Thanks for your invaluable help, got it to compile :-)