gv [])
{_file * file; {(1) {<<"Menu: n"; <<"1) Connect new. n"; <<" , 2) Connect complite. n "; <<" 3) Add element. n "; <<" 4) Show list. N "; <<" 5) Add txt file. N "; <<" 6) Create txt file. N "; <<" Esc for exit. N "; (_getch ()) {'1 '://connect = new bin_file ("test.bin", 0); (! file) 1; <<"File connect. n";; '2 ': = new bin_file ("test.bin", 1); ( ! file) 1; <<"File connect. n";; '3 ': _ch [20]; <<"String:";>> _ch;> set_elem (_ch );> add_elem ();; '4 ':> show_list ();; '5':
{t1 = clock ();> add_txtfile ("file.txt"); t2 = clock (); <<"Complite. // Exit
return 0;
}
}
} (int)
{cerr <<"File not found. n";};
_getch (); return 0;}