You are viewing a single comment's thread. Return to all comments →
My Solution In C++
ostream& operator<<(ostream& os, const Person& pr) { os <<"first_name=" <<pr.get_first_name() << ",last_name=" << pr.get_last_name(); return os; }
Seems like cookies are disabled on this browser, please enable them to open this website
Overloading Ostream Operator
You are viewing a single comment's thread. Return to all comments →
My Solution In C++