Hi,
I'm a new C++ user. I dont know what does this mean.
( t.hour < 10 ? "0" : "" ) a bit of weird to me. WHat does it mean?Code:void printMilitary( const Time &t ) <---what does Time &t means? { cout << ( t.hour < 10 ? "0" : "" ) << t.hour << ":" << ( t.minute < 10 ? "0" : "" ) << t.minute; }