My professor keeps telling us its all about listing things and telling the computer how to do tasks one at a time in the order we want them done, (but he doesn't really tell us how to do that) so I've done that here with a few void statements to open a file, read it, then print a number to go along with a name that the user types in....it's obviously missing a few things but I'm not sure what or even where to go from here...any help would be appreciated.
void user_input(string, string)
{
string fname, lname;
cout<<"Type first name followed by the last name (seperated with a space)"<<endl<<endl;
cin>>fname>>lname;
}
Sean Collins 5556497239
Robert Howell 5552221737
Stephen Pietsch 5558699837
Erica Trembley 5558472738
Eileen Dover 5556457384
Benjamin Dover 5555768493