We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Overloading Ostream Operator
Overloading Ostream Operator
Sort by
recency
|
66 Discussions
|
Please Login in order to post a comment
Is this a 'medium difficulty' problem?
Shouldn't the overloaded << operator function be declared as a friend of class Person, so that it can access the private data within a Person object?