1 2 3 4 5 6
|
//Set days of each month into an array
const int DayOfYear::MonthDay[] = {31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365};
//Set the name of each month into an array
const string DayOfYear::Month[] = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"};
|