Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. void newPatients(List& client)
  2. {
  3. string tempinput;
  4.  
  5.  
  6. cout << "Enter in 10 diggit CareCard Number: ";
  7. getline(cin, tempinput);
  8. Patient temp(tempinput);
  9.  
  10. bool newPat = client.insert(temp);
  11. if (!newPat)
  12. {
  13. cout << "Patient created" << endl;
  14. client.PrintALL();
  15.  
  16. }else
  17. {
  18. cout << "There was an error" << endl;
  19. }
  20.  
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement