#include<iostream>
#include<conio.h>
usingnamespace std;
class date
{
public:
int day,month,year;
public:
date();
date(int,int,int);
date operator ++();
};
date::date(int a,int b,int c)
{
day=a;
month=b;
year=c;
}
date date::operator++()
{
day++;
month++;
year++;
}
int main()
{
date d(3,4,5);
date e;
e=++d();
cout<<"Day "<<e.day<<" Month "<<e.month<<" Year "<<e.year;
getch();
}