示例#1
0
void counter::updateTiming(void) {if(checkTiming()) timing = int(time(0));}
示例#2
0
void counter::updateSystem(void) {checkTiming() ? (updateTiming(), updateInc(count), updateCount(reset)) : updateCount(inc);}
void counter::updateTiming(void) {checkTiming() ? timing = int(time(0)) : timing;}