change mixture of upper and lowecase

i'm supposed to compare the input of any mixture of upper and lowercase characters to a txt file. as long as the user has entered the correct spelling of the answer, it should be marked correctly. i'm lost here. is the easiest way about this to just manipulate the txt file so that the answers are all lowercase and then change the user input to all lowercase? if so, what would the code look like?

txt file: http://pastebin.com/VaXjPWX1
entire code: http://pastebin.com/qjPGNUtx (~line 69)
Last edited on
Read the file into a string (or a vector of strings) and convert the strings to upper (or lower) case.

Read the input from the user into a string (or a vector of strings) and convert the strings to upper (or lower) case.

Then compare the two.
Topic archived. No new replies allowed.