I have absolutely no programming experience, save the couple of days since i picked up "Jumping Into C++" by Alex Allain.
I am having some trouble with one of the practice assignments:
I have to write out a list, the user selects one from the list and if the choice does not match anything on the list then the list must be reprinted until a match is made.
Since "Dwarf" and "Elf" and company evaluate to non-zero values in the context of a boolean condition they will always be true and the loop will always execute.