// second version of the 'date' class
// - added guard against multiple inclusion
// - changed to use constructor instead of 'setDMY' method

#ifndef DATE_H
#define DATE_H

class date
{
    int day;
    int month;
    int year;
    
  public:
    date(int d, int m, int y);
    void getDMY(int*, int*, int*);
    void increment();
    void print();
};

#endif // DATE_H



