摘要: #include "hptime.h"#include #include #include #include #include #include using namespace std;int main(){map mapDatas;mapDatas["001"] = "liang";mapDatas["002"] = "ganquanfu";map::iterator iterMap = mapDatas.find("002");if(iterMap != mapDatas 阅读全文
posted @ 2013-08-28 23:04 Predator 阅读(162) 评论(0) 推荐(0) 编辑
摘要: #include "hptime.h"#include #include #include #include using namespace std;void CalcTime(){unsigned long diff = 10000000;while(diff > 0){--diff;}Sleep(1000);}int main(){clock_t start, end;start = clock();CalcTime();end = clock();int tm =difftime(end, start);cout > wait; return 0;} 阅读全文
posted @ 2013-08-28 21:43 Predator 阅读(182) 评论(0) 推荐(0) 编辑