Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ getHeight
Method
getHeight
Examples/NoModules/Chapter 14/Ex14_04C/Box.h:23–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
double getLength() const { return m_length; }
22
double getWidth() const { return m_width; }
23
double getHeight() const { return m_height; }
24
25
private:
26
Box() { std::cout <<
"Box() called.\n"
; } // Default constructor (made private)
Callers
1
Box.h
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected