// // (c) J. Dean Brock, 1999, 2002, 2003 // #include using namespace std ; #include #include "btree.hxx" const char *Usage = "Usage: bcreate btfile" ; int main(int argc, char *argv[]) { bTree B; if (argc != 2) { cerr << Usage << endl ; exit(1) ; } B.create(argv[1]) ; if (B.io_ok()) cout << "Btree created in " << argv[1] << endl ; else cout << "Btree creation failed on " << argv[1] << endl ; }