예제 #1
0
파일: main.cpp 프로젝트: AlecWong/DBSQL
int main(void){
    vector<int>b;
    set<int> a;
    b.push_back(1);
    b.push_back(2);
    b.push_back(1);
    b.push_back(2);
    a.insert(b.begin(), b.end());
    Interpreter interpreter;
    //AUXInsertInto* newwww = static_cast<AUXInsertInto*>(neww);
    API api;
    fstream fp;
    //fp.open("/Users/jason/Desktop/file", ios::in|ios::binary);
    //freopen("/Users/jason/Desktop/file", "r", stdin);
    while (true) {
        cout<<">>";
        AUX* neww =  interpreter.dealInput();
        if(neww->quit)
            return 0;
        api.chooseCommand(neww);
        cout<<"@@@@@@@@@@@@@@@@@@@@@@@@@@@"<<endl;
    }
            cout<<"haha";
}