⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.h

📁 C++实现简单数据库管理系统
💻 H
字号:
#ifndef _COMMON_H
#define _COMMON_H
#include <string>
#include <iterator>
#include <fstream>
#include <iostream>
#include <cstdlib>
#include <vector>
#include <list>
#include <map>
#include <cctype>
#include <sstream>
#include <ctime>
#include <boost/regex.hpp>

using namespace std;
using namespace boost;
struct column
{
	bool type_char;
	bool type_float;
	bool is_null;
	string column_name;
	list<string> data;
	int date_length;

	column():type_char(false),type_float(false),is_null
		(true),column_name(""),date_length(0){}

};
typedef list<column*> table;

map<string, list<column *> *  > SQL;

template<typename T>
string To_String(T temp)
{
	ostringstream oss;
	oss<<temp;
	return oss.str();
}


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -