📄 min.h
字号:
#ifndef MIN_H
#define MIN_H
#include "afxwin.h"
#include < iostream >
#include < fstream >
#include < iomanip >
#include < strstream >
#include < cstdlib >
#include < string >
#include < direct.h >
using namespace std;
#include "dir.h"
class sql {
private:
enum { sbf=1024*128 };
enum { subsbf = 1024*16 };
char buf[3][sbf];
char subbuf[subsbf];
Table* tablehead;
int buff[3];
int modify[3];
string bufname[3];
int page;
char command[50];
string filename;
string index;
string colname;
string fileload;
void execfile();
void f_command(ifstream&);
void create_table(ifstream& );
void drop_table(ifstream&);
void insert_into(ifstream&);
void delete_from(ifstream&);
void create_index(ifstream&);
void drop_index(ifstream&);
void select_from(ifstream&);
void create_table( );
void drop_table( );
void select_from( );
void insert_into( );
void delete_from( );
void create_index( );
void drop_index( );
void erasecom();
void update_index( Table* );
void modify_index( Table* );
public:
sql();
void r_command();
void InitBuffer();
void FlushBuffer();
void Load_Dictionary();
void Update_Dictionary();
Table* tabexist();
Col* colexist(Table* , int &);
Col* indexist(Table* &);
int readtable();
void writefile( int );
void Log(string);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -