the solution you gave me @closed account causes the program to crash for me.
@kemort the solution does work but im trying to add an input verification so no empty inputs are accepted.
Ive been rereading the code and the only thing I can think of is that it is considering the enter from he last name input as a empty string. Because the program checks for and does catch empty strings that i have tested but it continues to print out a double enter vendor name response for the next line
Keep in mind you only need those two lines when you go from a cin to a getline. ie it doesn't have to be inside the loop structure where only getline's occur.
If you are still getting repeated enter then make it a do .. while rather than a while .. do loop
the code you added did the same as before but the cin.clear(). seem to do the trick. Thanks guys for your help. Ill keep in mind all you told me and use it to help me become better at this.