Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Time::setTime()
- {
- char dots;
- while(1){
- cin >> hour >> dots >> minute >> dots >> second;
- if(second < 60 && minute < 60)
- break
- else
- cout << "repiat set..."
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement