Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Date.cpp is the Date class function implemetation file.
- #include "Date.h"
- void printDate1()
- {
- cout << this->month << "/" << this->day << "/" << this->year << "\n";
- }
- void printDate2()
- {
- cout << Months[month - 1] << " " << day << ", " << year << endl;
- }
- void printDate3()
- {
- cout << day << " " << Months[month - 1] << " " << year << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment