Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ main
Function
main
Exercises/Modules/Chapter 14/Soln14_01/Soln14_01.cpp:5–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
import animals;
4
5
int main()
6
{
7
Lion myLion{
"Leo"
, 400};
8
Aardvark myAardvark{
"Algernon"
, 50};
9
myLion.who();
10
myAardvark.who();
11
}
Callers
nothing calls this directly
Calls
1
who
Method · 0.45
Tested by
no test coverage detected