手机随时阅读
新人专享大礼包¥24
(1)、localtime用来获取系统时间,精度为秒 #include <stdio.h>#include <time.h>int main(){ time_t time_seconds = time(0); struct tm* now_time = localtime(&time_seconds); print...
Copyright © 2005-2022 51CTO.COM 版权所有 京ICP证060544号