I can't get the program to quit when 'quit' is typed in because I am using:
getline(cin, str1, ' ');
In this, convert is a class.
This is making sure the word convert was typed and then saving the part after the space so I convert it later. The problem I am having is when 'quit' is entered there is no ' ' entered so the program doesn't quit. Is there a way I can make getline stop reading input under two conditions ' ' and '\n'? Or am I going about this all wrong?