Example program for time() function in C: ; main (). { ; seconds = time (NULL); ; printf ("Number of hours since 1970 Jan 1st " \. "is %ld \n", seconds/3600);.
確定! 回上一頁