摘要: #include #include #include #include #include "IPermanceServiceShare.h"using namespace std;using namespace boost::gregorian;void main(){ map *> mpList; date dtStartDate = from_undelimited_string("20120605"); date dtEndDate = from_undelimited_string("20120615"); dtStar 阅读全文
posted @ 2013-06-26 18:46 Predator 阅读(617) 评论(0) 推荐(0) 编辑
摘要: #include#include #include "IPermanceServiceShare.h"using namespace std;void SetValue(vector **pvcDatas){ *pvcDatas = new vector(); PERSON *person = new PERSON(); person->strName = "ganquanfu"; person->nAge = 25; (*pvcDatas)->push_back(*person); person->strName = " 阅读全文
posted @ 2013-06-26 18:45 Predator 阅读(1222) 评论(0) 推荐(0) 编辑
摘要: #include "IPermanceServiceShare.h"#include #include #include using namespace std;class CAnimal{public: CAnimal(){ cout > wait; } 阅读全文
posted @ 2013-06-26 18:44 Predator 阅读(174) 评论(0) 推荐(0) 编辑
摘要: #include "IPermanceServiceShare.h"#include #include #include using namespace std;void main(){ tagPerson person; person.nAge = 22; stack myStack; for (int i = 0; i > wait; } 阅读全文
posted @ 2013-06-26 18:42 Predator 阅读(185) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;class ObjectNULL{public: ObjectNULL() { m_strMsg = ""; } ObjectNULL(string msg) { this->m_strMsg = msg; } ~ObjectNULL() { } void Display() { cout > nInput; try { if (nInput == 0) { ObjectNULL ex("输入的数据不能为零!"); throw ex; } } catch (Objec 阅读全文
posted @ 2013-06-26 18:41 Predator 阅读(127) 评论(0) 推荐(0) 编辑
摘要: *char des[20]; //sprintf(des, "100002"); //cout ("10002"); //cout << str << endl;*/ ////char des[20]; ///*strcpy_s(des, "ganquanfu"); //cout << des << endl;*/ 阅读全文
posted @ 2013-06-26 18:40 Predator 阅读(331) 评论(0) 推荐(0) 编辑
摘要: date dtStartDate = from_undelimited_string("20130116"); date dtEndDate = from_undelimited_string("20130115"); if (dtStartDate == dtEndDate) { cout << "等于" << endl; } else if (dtStartDate < dtEndDate) { cout << "小于" << endl; } else { 阅读全文
posted @ 2013-06-26 18:40 Predator 阅读(1488) 评论(0) 推荐(0) 编辑
摘要: timer tm; map *> mpList; date dtStartDate = from_undelimited_string("20021212"); //cout << to_iso_string(dtStartDate.end_of_month()) << endl; date dtEndDate = from_undelimited_string("20131215"); int ndtEarlyYear = 0 ; // 记录dtEarly日期的年份 int ndtNearYear = 0; // 记录dt 阅读全文
posted @ 2013-06-26 18:39 Predator 阅读(731) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include "IPermanceServiceShare.h"using namespace boost;using namespace std;using namespace boost::gregorian;void main(){ timer tm; map *> mpList; date dtStartDate = from_undelimited_string("19880612"); date dtEndDate = from_undelim 阅读全文
posted @ 2013-06-26 18:37 Predator 阅读(309) 评论(0) 推荐(0) 编辑