1260
2018-01-08 21:57:47
1
그냥... 한 번 생각해봤습니다(맞는지 틀린지 검증하진 않았습니다).
CTime a(2018, 1, 8, 0, 0, 0);
CTime b(2017, 12, 31, 0, 0, 0);
CTimeSpan aday(1, 0, 0, 0);
for (b = b + aday; b < a; b = b + aday)
cout << b.GetYear() << " " << b.GetMonth() << " " << b.GetDate() << "n";