#include #include #include "date.h" using namespace std; int main() { date d1(12, 31, 2014); //parentheses for more than one argument d1.print(); cout << "\n"; date d2; //no parentheses for no arguments d2.print(); cout << "\n"; date().print(); //Construct an anonymous date; call its print function. cout << "\n"; cout << int() << "\n"; //Construct an anonymous int with the value 0. return EXIT_SUCCESS; }