摘要:
// mysqlTest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #include #include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ CMRDBIO myDb(DBTYPE::DB_MYSQL);// string strSQL ; //strSQL = "insert into person values('dfsdf', 24) "; //cout GetRecordCoun 阅读全文
posted @ 2013-07-09 19:51
Predator
阅读(403)
评论(0)
推荐(0)
摘要:
#pragma once#include "persistable.h"#include "memento.h"#include#include using namespace std;class CFGStudent:public xml_api::Persistable{public: CFGStudent(void); ~CFGStudent(void);public: virtual bool SaveState(xml_api::Memento* m); // 读取配置 virtual bool LoadState(xml_api::Memen 阅读全文
posted @ 2013-07-09 19:48
Predator
阅读(2304)
评论(0)
推荐(0)
摘要:
#include "stdafx.h"#include "FGConfig.h"#include "Utils.h"#include "persistable.h"#include #include using namespace std;using namespace xml_api;#include inline void EnableMemLeakCheck(){ _CrtSetDbgFlag(_CrtSetDbgFlag(_CRTDBG_REPORT_FLAG) | _CRTDBG_LEAK_CHECK_D 阅读全文
posted @ 2013-07-09 19:47
Predator
阅读(295)
评论(0)
推荐(0)
摘要:
//xmlTest.cpp:定义控制台应用程序的入口点。// #include"stdafx.h"#include"FGConfig.h"#include"Utils.h"#include"persistable.h"#include#include#include#includeusingnamespaceboost; usingnamespacestd;usingnamespacexml_api; classPerson{public: Person(){} Person(stringname):m_strNa 阅读全文
posted @ 2013-07-09 19:45
Predator
阅读(2268)
评论(0)
推荐(0)

浙公网安备 33010602011771号