help me out please [code]switch(var) { case 'A': case 'a': //do something ...
I want to keep printing menu function if user enters wrong numberA switch statement would be more appropriate here. [code]bool invalidChoice = true; while(invalidCh...
Problem with enum in classYou can keep the definitions inside the header but outside the class if you add the inline keyword t...
multiple decleration error when including header file instead of cppCan you post the updated code so I can see if you're doing everything correctly?
Find xth character in stringKeep in mind this is case sensitive. [code]#include <iostream> char GetXthChar(std::string str, ch...