18.03.2011, 13:19
Hello!
So, I have this system, where it generates random questions.
There is one problem - how could I generate a question, that hasn't been given yet?
For example, I have pvars: t_que[1-5];
and they store the questions they already been given, and I also have the maximum number of questions that exists (15), so how could i select a random value from 15, that isn't t_que[1-5] pvars?
So, I have this system, where it generates random questions.
There is one problem - how could I generate a question, that hasn't been given yet?
For example, I have pvars: t_que[1-5];
and they store the questions they already been given, and I also have the maximum number of questions that exists (15), so how could i select a random value from 15, that isn't t_que[1-5] pvars?