I'm beginning in C++ and am working my way through a book to learn it. I've come across a simple problem I don't know how to fix.
The program is a simple system where you type in the title of a game, which the computer adds to a list and then shows you the list.
The issue is: If you enter a title like "Unreal Tournament" it treats "Unreal" and "Tournament" as separate titles like this:
I've tried different ways of using endl and \n in different locations, but that seems to bear no effect.
My question is, still using vectors, how can I get it to list multi-word titles correctly?
A separate issue I'm having is my attempt to add an "erase title" function. How can I get the program to search for a title input by the user and then remove that title?