This has seriously baffled me. I have two text files one with keywords and one with definitions. What I need to do is read the textfiles into an array (or two) and assign the keyword from one with the correct definition. Then on one form the randomize the the keywords so they can't be repeated on the quiz when it loads up. The user then has to match the correct definition to the right keyword and they quiz ends when it has been completed twice. I have tried to read the file into the array but I haven't succeeded, not to mention how to then randomize the array so that it is different every time the quiz is loaded.
Kent55 0 Newbie Poster
Reverend Jim 4,968 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.