I can't for the life of me figure out how to get the "enter Q to quit" to work properly. I don't know if I am allowed to do it this way, but can someone guide me in the right direction.
while ( true )
{
cout << "Select Math Operator(+, -, /, *, %) or enter Q to quit: ";
cin >> calc;
if ( calc == 'q' || calc == 'Q' ) break;
// The rest of your loop ...
}