摘要:
#include #include #include using namespace std;void main(){map maps;maps["gan"] = 10;maps["quan"] = 100;maps["fu"] = 1000;cout ::iterator tem;for(tem = maps.begin(); tem != maps.end(); ++tem){ cout first second > wait;}////输出///**************************************/ 阅读全文
摘要:
#include#include#include#includeusingnamespacestd;usingnamespaceboost::gregorian;//返回dtLastDatetime相对于dtCurDatetime日期的第几周intGetOrderWeek(constdate&dtLastDatetime,constdate&dtCurDatetime); constintMAX_SIZE=100*1024*1024; structPerson{ stringstrName; int nAge; charnum[MAX_SIZE];}; typedefstruc 阅读全文
摘要:
//#include//#include//#include//#include//usingnamespacestd;//usingnamespaceboost::gregorian;////返回dtLastDatetime相对于dtCurDatetime日期的第几周//intGetOrderWeek(constdate&dtLastDatetime,constdate&dtCurDatetime);////constintMAX_SIZE=100*1024;////structPerson//{// stringstrName;// int nAge;// charch[M 阅读全文
摘要:
//#include//#include//#include//#include//usingnamespacestd;//usingnamespaceboost::gregorian;////返回dtLastDatetime相对于dtCurDatetime日期的第几周//intGetOrderWeek(constdate&dtLastDatetime,constdate&dtCurDatetime);////constintMAX_SIZE=100*1024;////structPerson//{// stringstrName;// int nAge;// charch[M 阅读全文