阅读背景:

time_t的大小及其最大值。

来源:互联网 
#include <stdio.h>
#include <time.h>

int main()
{
     printf("Size of time_t is %lu bytes.\n", sizeof(time_t));
     time_t biggest = 0x7fffffffffffffff;   // line 1
     printf("time_t's wrap around will be a second after %s.\n", asctime(gmtime(&biggest)) );

     return 0;
}
#include <stdio.h>
#include <time.h>

int main(



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: