Modified format library
#include <iomanip>
setw () behind the control of several empty, and only act on the immediately;
what setfill () indicates a position to fill the empty, but it acts to endl.
void Time::printStandard()
{
cout << setfill('0') << setw(2) << (hour % 12) << ":" <<setw(2) << minute << ":" << setw(2) << second << ((hour < 12)? " AM" : " PM") << endl;
}
void Time::printUniversal()
{
cout << setfill('0') << setw(2) << hour << ":" << setw(2) << minute << ":" << setw(2) << second << endl;
}