Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ main
Function
main
Examples/NoModules/Chapter 13/Ex13_07/Ex13_07.cpp:5–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
#include
"Integer.h"
4
5
int main()
6
{
7
const Integer i{1};
8
const Integer j{2};
9
const auto result = (i * 2 + 4 / j - 1) % j;
10
std::cout << result.getValue() << std::endl;
11
}
Callers
nothing calls this directly
Calls
1
getValue
Method · 0.45
Tested by
no test coverage detected