摘要:
#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 阅读全文
摘要:
#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;} 阅读全文