MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / who

Method who

Exercises/Modules/Chapter 14/Soln14_04/Person.cpp:17–20  ·  view source on GitHub ↗

Display details of Person object

Source from the content-addressed store, hash-verified

15
16// Display details of Person object
17void Person::who() const
18{
19 std::cout << "\nThis is " << m_name << " who is " << m_age << " years old." << std::endl;
20}
21
22void Person::haveBirthday()
23{

Callers 3

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected