time()为什么要加参数NULL
来源:百度知道 编辑:UC知道 时间:2024/05/21 16:10:40
time()为什么要加参数NULL,或者限定time_t类型变量?如果换成time_t类型变量会怎么样?
谁帮解释一下MSDN的说明的最后一句:
The time function returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time, according to the system clock. The return value is stored in the location given by timer. This parameter may be NULL, in which case the return value is not stored.
谁帮解释一下MSDN的说明的最后一句:
The time function returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time, according to the system clock. The return value is stored in the location given by timer. This parameter may be NULL, in which case the return value is not stored.
time()函数返回自1970年1月1日午夜0时0分0秒到现在所经过的秒数,这个返回值存储在本地(就是time_t类型的变量中),这个参数也可以为NULL,如果为NULL,那么time函数返回的值就不会被存储。
time()为什么要加参数NULL
c++调用time()函数括号里为什么要用NULL
_beginthread (Thread, 0, NULL) ;前面为什么加_
最高级前一般要加the,为什么time前不加. 如: He spends most time. WHY.......?????????????
srand((unsigned)time(NULL)) 的问题
wait for a long time 要不要加for 呢? 为什么啊
She gazed in wonder,seeing snow for the first time.中的seeing为什么不是saw?为什么要加“for”?
为什么有的网站html文件后面能加参数?
为什么无法使用format c:加参数s格式化
spring session Query 为什么要把 Q 附值为NULL