close

Вход

Забыли?

вход по аккаунту

код для вставкиСкачать
Lab4: hints
• Lab4: implement operator overloading
• After checking the format and validity of the
object, we should pay attention to cases like
–
–
–
–
–
–
–
–
add 1 day to a date in a month
add 1 day to the last day of a month
add less than 30 days to a date
add more than 30 days to a date
add 1 hour to a time in the day
add 1 hour to the last hour in a day
add less than 24 hours to a time
add more than 24 hours to a time
• Try to reuse code as much as possible
1/--страниц
Пожаловаться на содержимое документа