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

Function main

Examples/Modules/Chapter 12/Ex12_06A/Ex12_06A.cpp:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import box; // For use of the Box class
5
6int main()
7{
8 Box myBox{ 6.0, 6.0, 18.5 }; // Create a box
9 std::cout << "Volume of the first Box object is " << myBox.volume() << std::endl;
10}

Callers

nothing calls this directly

Calls 1

volumeMethod · 0.45

Tested by

no test coverage detected