Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ show
Method
show
Exercises/Modules/Chapter 12/Soln12_04/Integer.cpp:32–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
}
31
32
void Integer::show() const
33
{
34
std::cout <<
"Value is "
<< m_value << std::endl;
35
}
36
37
// friend compare function
38
int compare(const Integer& obj1, const Integer& obj2)
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected