I have a class person, with a first name, last name...ect. The user is prompted a menu and I am having trouble with the option to delete a name. It seems the string variable is not getting updated when the user enters it and another prob is getting an infinite loop when nothing matches in the vector.

My code: http://pastebin.com/caWR0yD9
I would GREATLY, appreciate some help with this.

Rather than posting a link to pastebin, post it here directly. That will make it simpler for us to post modifications for you.

Also, post your class structures.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.