Advertisement
noler89

Untitled

Dec 10th, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include "StudentsDB.h"
  2.  
  3. int main(){
  4. StudentsDB db1("database.txt");
  5. Student s1 ("fddf", " FDfd", "123123");
  6. db1.add(s1);
  7.  
  8. cout << "Find" << endl;
  9. db1.findName ("FDfd");
  10.  
  11. cout << "Show" << endl;
  12. db1.showDataBase ();
  13. system("pause");
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement