在標準C/C++中,我們可通過tm結構來獲得日期和時間,tm結構在time.h中的定義如下:#ifndef _TM_DEFINEDstruct tm {int tm_sec; /* 秒– 取值區間為[0,59] */int tm_min; ...
確定! 回上一頁