以下程式示範使用time() 的結果 #include <stdio.h> #include <time.h> int main(void) { time_t t1 = time(NULL); printf("自1970 年1 月1 日後經過了%d 秒.
確定! 回上一頁