I have a vector filled with names such as
John Doe
Jane Doa
etc.
I need to write a function which deletes what is input via the user
void delete(vector<string>&name)
{
string FName, LName;
cout<<"Enter first name and last name to be deleted";
cin>>FName>>LName;
}
ie input: John Doe
and I want John Doe deleted from the vector
Any help would be appreciated I have been lost for a while now :/