Ok, I asked this before. I've tried the suggestions and have failed. This is what I want to do.
I have a question.txt file that looks like this.
Question 1: Yadda yadda
Question 2: Yadda Yadda
Now how would I make a program read from that file, print the question, ask for user input then check the answer against the answer in the text file? I think I can figure out the user input part, but I just need help with the file handling part. Any help would be appretiated.