Posts: 840
Threads: 54
Joined: Jan 2012
Favorite Pack: CCLP4
Scorecard:
Tyler Sontag
6-Day Visit To Rural African Village Completely Changes Woman’s Facebook Profile Picture
Posts: 1,022
Threads: 84
Joined: Mar 2012
Favorite Pack: CC1
Scorecard:
Zane Kuecks
Well, we all know who won't be in episodes 8-15
Posts: 215
Threads: 18
Joined: Jun 2013
Favorite Pack: CCLP3
Scorecard:
Eddy Limb
I like how you praise every Josh level and then go on his videos and bash every Rock level, despite the fact mine are not in CCLP1 submissions. On the other hand, those were good indeed. Very original stuff.
Posts: 840
Threads: 54
Joined: Jan 2012
Favorite Pack: CCLP4
Scorecard:
Tyler Sontag
<div style="font-size:11.9552px;font-family:monospace;">int Date::getDay() const {
return day;
}
int Date::getMonth() const {
return month;
}
int Date::getYear() const {
return year;
}
void Date::setDay(int d) {
day = d;
}
void Date::setMonth(int m) {
month = m;
}
void Date::setYear(int y) {
year = y;
}
void Date::increment() {
if (!isLastDayInMonth()) {
day++;
} else {
day = 1;
if (month == 12) { // December
month = 1;
year++;
} else {
month++;
}
}
}
bool Date::isEqual(const Date& date2) const {
return day == date2.day && month == date2.month && year == date2.year;
}
bool Date::isLeapYear() const {
return (year%4 ==0 && year % 100 != 0) || year%400 == 0;
}
int Date::lastDayInMonth() const {
if (month == 2 && isLeapYear())
return 29;
else
return DaysInMonth[ month ];
}
bool Date::isLastDayInMonth() const {
return day == lastDayInMonth(); // uses member function
}
void Date::print() const {
std::cout << month << "/" << day << "/" << year;
}
bool sameDay(const Date& date1, const Date& date2) {
return date1.getDay() == date2.getDay() && date1.getMonth() == date2.getMonth();
}
4
<a></a>
Posts: 138
Threads: 28
Joined: Apr 2012
Favorite Pack: CC1
Scorecard:
Andy Baker
My ROFLCOPTER goes soi soi soi
.
.
First chipster ever reported to fill ON THE ROCKS with blocks.
HASHLEVELS.dat (49 CC1 levels)