- 1
c++ member function that increments integers to simulate clock
I need help creating a member function of a class that has three integers (hour, minute, second) the minute integer must increment to 59 and the hour integer must recognize when the minute integer goes to 60 and goes to 1. I linked to the code in code playground. Any advice would be greatly appreciated. https://code.sololearn.com/ch7JKW0mrUw1/#cpp
2 Respuestas
+ 4
You are making c++ code in web. Do it in cpp section in code playground.
0
Arushi, you're right, I never realized I could change the language
https://code.sololearn.com/ch7JKW0mrUw1/#cpp