Пример #1
0
int main()
{
    cout << "**  BTree: A B+-tree implementation based on Generalized Search Trees\n";
    cout << "Type \"help\" for a list of commands.\n\n";
    CommandPrompt();
    yyparse();
	return 0;
}
Пример #2
0
int main()
{
    cout << "**  RTree: An R-Tree based on Generalized Search Trees\n";
    cout << "Type \"help\" for a list of commands.\n\n";
    if (db.open()) { 
      CommandPrompt();
      yyparse();
      return 0;
    } else { 
      return 1;
    }
}