Computer Science Canada Help with Input TEXT from .txt |
Author: | qwertkeysrule [ Mon Jan 15, 2007 11:23 am ] |
Post subject: | Help with Input TEXT from .txt |
So i have read and searched forever on here for help with getting text(questions,answers) into my quiz but nothing has come through. I don't know how i can "get" the information from the text file into my questions using an array. I need the help quickly before it's due. thanks for help in advance. All i have been able to do is input one word which is nowhere close to what iI need. ![]() |
Author: | Cervantes [ Mon Jan 15, 2007 1:54 pm ] |
Post subject: | RE:Help with Input TEXT from .txt |
Have you checked out the Turing Walkthrough? It's got a link to the File I/O tutorial. Just loop through each line of the file. Shouldn't be too hard, right? If you still can't get it, what code have you got so far? |