Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void newPatients(List& client)
- {
- string tempinput;
- cout << "Enter in 10 diggit CareCard Number: ";
- getline(cin, tempinput);
- Patient temp(tempinput);
- bool newPat = client.insert(temp);
- if (!newPat)
- {
- cout << "Patient created" << endl;
- client.PrintALL();
- }else
- {
- cout << "There was an error" << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement