摘要: 等待一秒方法, (1)Sleep(1000);等待1000毫秒 (2)#include<time.h> time_t t=time(NULL); //获取从1970年1月1日开始算起的秒数 while(time(NULL)==t); //直到秒数不同,即过了1秒 阅读全文
posted @ 2016-05-02 13:36 chris_chan1024 阅读(579) 评论(0) 推荐(0) 编辑