MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / operator>>

Function operator>>

Lab_13/main1.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53};
54
55void operator>>(istream &in, DayTime &h)
56{
57 cout << "Input hours ( 0 , 24 ): ";
58 in >> h.hour;
59
60 cout << "Input minutes (0 , 60 ): ";
61 in >> h.minute;
62
63 cout << "Input seconds ( 0 ,60 ): ";
64 in >> h.second;
65}
66
67void operator<<(ostream &out, DayTime &h)
68{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected