📄 common.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 + -