1: //TestStuff20141015.cpp 2: //Wednesday, October 15, 2014 3: 4: #include <iostream> 5: using namespace std; 6: 7: #include "utilities.h" 8: using Scobey::Pause; 9: 10: //Note: Had to change the name of the file from time.h 11: //to my_time.h to avoid conflict with legacy time.h. 12: //So ... if you want to run this program use the Time 13: //class in my_time.h/my_time.cpp. 14: #include "my_time.h" 15: 16: int main(int argc, char* argv[]) 17: { 18: Time t; 19: cout << t << endl; 20: t.increment(); 21: cout << t << endl; 22: Time* tPtr = new Time(); 23: cout << *tPtr << endl; 24: //(*tPtr).increment(); 25: tPtr->increment(); 26: cout << *tPtr << endl; 27: }