I cannot figure out why the void magazine::magDisplay definition is not working.
-------Class Definition--------
class magazine{
friend class Date;
friend class Person;
private:
person subscriber;
date subStart;
date subExpire;
public:
magazine(person subscriber, date subStart, date subExpire);
void magDisplay();
};
--------Date class definition--------
class date{
private:
int month, day, year;
public:
date(int month, int day, int year);
date() : month(1), day(1), year(2000) {}
void showDate();
};