1、获取时间用time_t time( time_t * timer ),计算时间差使用double ... 就是1秒钟;Linux下表示1000秒,Linux下使用毫秒级别的函数可以使用usleep。
確定! 回上一頁