Ok, so after executing a loop in my program 2 times i get this error message: "Fortune Teller.exe has encountered a problem and needs to close. We are sorry for the inconvenience" Here is the coding for my fortune teller i am making. It is in the very basics so far.
Remove that semicolon and you should be fine. What was happening was that every time that loop was started, it can not be ended due to the semicolon making it an empty loop.
Also, you specify that the function will return a std::string, however you don't return anything at all.