// filename: money.h // macro guard #ifndef MONEY_H #define MONEY_H class Money { public: Money(); Money(int d, int c); Money(int allc); Money(Money& m); int toAllCents(); // value counted down to cents void setValues(int allc); // re-assign dollar and cent according to 'allc' void printMoney(); // print "$ddd.cc" to cout private: int dollar; int cent; }; #endif