type time_t) by a certain amount. For example, given a time_t : value, how does one add (say) five seconds to it? localtime/struct tm.tm_sec+=5/mktime.
確定! 回上一頁