I want to make things generate more frequently

I have built a simple flashcard like console program to help me study. What I would like to do with it now is to make the questions I get wrong come up more frequently.

Can anyone point me in the direction of some code examples or tutorials on how to do this kind of thing?

To give a brief description, I read in each of the sets of data into separate vectors and randomly generate a multiple choice question with random incorrect answers.

Thanks in advance
You could add a "primary" random number generator that will have a probability (let's say 0.3) of diverting the program flow to read from another vector or set of vectors containing questions you got wrong in place of the usual generation routine, and change the system so that if you get a question wrong, there's a chance that it will be pushed onto that vector.

Does that sound like a plausible idea to you?

-Albatross
Topic archived. No new replies allowed.