摘要: 总是有些小技巧需要找个地方记录的。#include <iostream> #include <ctime> #include <Windows.h>using namespace std;int main() { clock_t start,finish; start=clock(); Sleep(500); finish=clock(); double time = finish-start; cout<<"过了"<<time<<"ms"<<endl; system(& 阅读全文
posted @ 2013-03-13 17:09 Dsp Tian 阅读(677) 评论(0) 推荐(0) 编辑