I need to get the program to let a user add a game remove a game and show the games and I am really lost and could use some help.
I display the list of games already then I ask the player to add a game and I cannot figure out how to get what the player inputs to be the next game and so on to remove a game.
i would just have one vector, being a games vector. then have the list of games that you start with as you do. Then you can get the user input, and push_back that. Also when you do the user input you might want to do getline(cin, userInput) I think that is the proper method of doing that, just look up getline and it will tell you the paramaters, it allows you to get the entire line, so if the user inputs a sentence or multiple words, such as street fighter 4 then it takes in the entire sentence instead of the first word as cin does. I tried to do bow and arrow for a game that I had, and later when i tried to call that variable, the program freaked out on me because i didn't use the getline for it, so i'm guessing it's a good habit to get into using that.