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