Home > Back-end >  Write a program
Write a program

Time:06-08

Write a program to test time (), gettimeofday (), clock_gettime (), ftime time precision of the four time () function,

CodePudding user response:

Baidu your validation more simple

CodePudding user response:

Is my method is to use a wrong? I didn't baidu search

CodePudding user response:

refer to the second floor yu Lin response:
is my method is to use a wrong? I didn't baidu search

Search each function, can add a space that is the c language, c and then look at the function of each function, then the assignment to your parameters, the corresponding value, such as time_t seconds; Seconds=time (NULL); The header file # include

CodePudding user response:

By the way, and put him into 2019.11.18 18:22:48 this form

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related