prog.cpp:14: error: 'time' is not a type
prog.cpp: In function 'std::ostream& operator<<(std::ostream&, int&)':
prog.cpp:16: error: request for member 'hour' in 'a', which is of non-class type 'int'
prog.cpp:17: error: request for member 'hour' in 'a', which is of non-class type 'int'
prog.cpp:19: error: request for member 'hour' in 'a', which is of non-class type 'int'
prog.cpp:20: error: request for member 'minute' in 'a', which is of non-class type 'int'
prog.cpp:21: error: request for member 'minute' in 'a', which is of non-class type 'int'
prog.cpp:23: error: request for member 'minute' in 'a', which is of non-class type 'int'
prog.cpp: At global scope:
prog.cpp:27: error: 'time' is not a type
prog.cpp: In function 'std::istream& operator>>(std::istream&, int&)':
prog.cpp:33: error: request for member 'hour' in 'a', which is of non-class type 'int'
prog.cpp:35: error: request for member 'hour' in 'a', which is of non-class type 'int'
prog.cpp:38: error: request for member 'minute' in 'a', which is of non-class type 'int'
prog.cpp:40: error: request for member 'minute' in 'a', which is of non-class type 'int'
prog.cpp: At global scope:
prog.cpp:45: error: expected constructor, destructor, or type conversion before 'operator'