Is this an error in the textbook?

I don't want to replicate the whole code but there's an example in the book I'm reading. The book is "Problem Solving with C++" by Walter Savitch and the page in question is 845. In this example the author creates a library and gives two function implementations. The function implementations are in the same namespace, they have the same name, they're in the same class (which is derived from another class), both take zero arguments and both return void. Is this an error on the author's part seeing that he has two different implementations, with the conditions given above, which use the same name.
I'd have to look at the actual code to give a final verdict, but the way you're describing it sounds like a mistake. I can't tell who made the mistake, thought; the author when he wrote it or you when you read it.
"Problem Solving with C++" by Walter Savitch

Which edition? They may have printed a new one which corrects the error. Posting the code, if possible/legal, would be helpful.
Topic archived. No new replies allowed.