#include "Date.h" #include using namespace std; int main() { //create a Date object Date d; //ask user for a date cout << "Enter a date: "; //read in the date from the user cin >> d; //print the date, with a message cout << "Your date is: " << d << endl; //set the date to 9/11/2008 d.setDate(9,11,2008); //print out the new date cout << "New date is: " << d << endl; return 0; }