#include #include #include "Date.h" int main(int argc, char **argv) { int d,m,y; if (argc != 4) { cerr << "Usage : "<0&&m>0&&y>0)) { cerr << "day, month and year must be positive integers\n"; return 2; } Date date(d,m,y); cout << date.day_of_week() << endl; }