I'm fairly new to programming, I'm currently learning c++. I have a for loop that checks a gets each element of the string and converts it to an ascii value. I use this to check a password...for example it has a upper case,lower,digits,etc. So in my loop i have like 4 sets of if's and else if's.
So anyway I know there is a switch statement, but it doesnt seem fitting for this case.
thanks