Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rustam-Z/cpp-programming
/ asSeconds
Method
asSeconds
Lab_13/main1.cpp:44–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
<<
"SS: "
<< second << endl;
43
}
44
int asSeconds() const
45
{
46
return (3600 * hour + 60 * minute + second);
47
}
48
49
friend void operator<<(ostream &out, DayTime &h);
50
friend void operator>>(istream &in, DayTime &h);
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected