#include #include "timestamp.h" int main(int argc, char** argv) { using namespace std; TimeStamp theTimeStamp; theTimeStamp.set(999999999); cout << "seconds since 1/1/1970: " << theTimeStamp.get() << " corresponding to " << theTimeStamp << endl; theTimeStamp.update(); cout << theTimeStamp << " corresponds to " << theTimeStamp.get() << " number of seconds since 1970" << endl; return 0; }