Thanks for helping. I tried to use that but I really don't understand it, I tried to change the wording around to make it so you can put how many games you have and and what the names are. I'm having lots of problems with it.
I never compiled this so there are probably errors but you shouldn't procrastinate so we are both in the wrong. I also didn't do the whole #include thing since what you have will probably do.
Hey kid what you have is right, the games variable should be read in as a string instead of an int or in other words, "words in stead of numbers". The only thing you did wrong is not include the loop, not use an array to store the titles or a number to hold your place in the array. You seem to have missed reading a chapter or two in your studies but I procrastinated worse when I was young and never even thought to go to a forum.
That's the while(max!=6){...max=max+1;} that I have in the code. Literally while max is_not_equal to 6 do_this...after_this max=max+1;. The while statement is your loop. I have a second while loop processing the reading back of the list because I am what we call lazy, and I do not want to type all of that crap out. Since we know what the limit of the array is going to be we can hardcode it and simplify the condition that keeps the while loop going. Notice that I reset the max counter in between the two while loops, this is so that we can use the same int variable for the same purpose in a differant loop.
The endl means output new line (or carridge return).
Carriage return just returns the cursor to the 0 position on the x axis. That's why windows does CRLF ('\r\n'): it's carriage return and then linefeed to take you to x = 0, y += 1. I have to admit, the UNIX way of having LF implicitly CR'ing doesn't make sense... but it does save diskspace, even if not much...
Edit: anyway, like firedraco said, std::endl does a CRLF and then flushes the buffer (equivalent would be std::cout << "\n" << std::flush;), so use '\n' unless you want the buffer flushed (personally, I tend to use and std::endl before asking for input, and after printing several lines of output, as well as before exiting from the program).