[C] 取一天的时间 →→→→→进入此内容的聊天室

来自 , 2020-08-19, 写在 C, 查看 106 次.
URL http://www.code666.cn/view/046ddf96
  1. #include <time.h>
  2. #include <stdio.h>
  3. #include <dos.h>
  4.  
  5. int main(void)
  6. {
  7.    time_t t;
  8.  
  9.    t = time(NULL);
  10.    printf("The number of seconds since January 1, 1970 is %ld",t);
  11.    return 0;
  12. }
  13.  

回复 " 取一天的时间"

这儿你可以回复上面这条便签

captcha