|
-
Dec 16th, 2000, 10:14 PM
#1
Thread Starter
Hyperactive Member
ok i have to admit that i thought what i wanted to do would be simpler that it turned out to be
my friend asked me to make him a program that would read his questions from a text file and answers too ... also he wants his questions to be randomize ...
i've thought of the following to make it simpler:
let him make 2 text files named whatever he wants ... i'll be able to open it from a dialog box ...
make each question start with a # and make each question fit in a line and not go to the next
having those things set already is a good idea to make it less complex right?
well now the following is how its supposed to work in code but i have no idea how to do it ...
text file 1 named questions:
1 question
2 question
3 question
4 question
5 (n so on cause he can put as much as he wants)
text file 2 named answers:
1 answer
2 answer
3 answer
4 answer
5 (and so on)
now how would i go about randomizing them?
so on a textbox in my form a question will come up:
3 question
and in another textbox have the answer come out:
3 answer
this was harder to do than i thought ... please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|