上一页 1 2 3 4 5 6 7 ··· 63 下一页
摘要: #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) 编辑
摘要: #include#include"common.h"#include#include#include"Calendar.h"#include#include#include#includeusingnamespaceboost::posix_time;usingnamespaceboost::gregorian;usingnamespacestd; typedefstructtagPerson{ stringname; intage;}Person; intmain(intargc){ stringname="zhangdong"; 阅读全文
posted @ 2013-07-20 14:55 Predator 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: #include#include"common.h"#include#include#include"Calendar.h"#include#include#includeusingnamespaceboost::posix_time;usingnamespaceboost::gregorian;usingnamespacestd; structtagPerson{ stringname; intage;}Person; //去除左边的空格字符voidlTrim(char*str);//去除右边的空格字符voidrTrim(char*str);//去除左 阅读全文
posted @ 2013-07-20 14:39 Predator 阅读(528) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 63 下一页