Since this is an ongoing project, I am only going to post the beginning of my code. I have a switch structure which the user loops through with an int value. However, the sentinel value must be the char Q. Everytime I try to put in the sentinel value it is giving me errors, should it be before the main structure? or within it?
I was able to do a const char sentinel = Q, but hitting Q simply caused a never ending loop
needless to stay I am stuck! simply the char vs int value has me caught up!
I'm not fully sure of what exact error that you are getting, but the issue currently is that your quit command requires you to store a char in an int which will cause unwanted behavior. My best advice would be to simply store the user's input as a char. That way you can utilize both ints and chars.