ok the point of this program was to hold passwords for all my onlines games i play so that people that use my pc can't get to them

as of right now the only way i no of to add soemting like
cout<<"password list 789678,hellomom";
would be to type it in to the source file
im looking for a way to add someting to it like this

cout<<"password list 789678,hellomom";
<<"password list 234566,hellomom";
cometing like that but whitout me haveing to type it in and then complie

so whear it says
cout<<" please enter a password you would like to add: ";

i would type in the 2 passwords and it would save it
and add it to the source code so that it will be added next time i look them up