可是他现在随机选他会有repeated question, 请问如何去修改?
-
- int random_integer[100];
- for(unsigned int q=0; q<question.size(); q++)
- {
- srand((unsigned)time(0));
- random_integer[q] = rand() % question.size();
- cout << no++ <<")";
- score += askQuestion(question[random_integer[q]], answer[random_integer[q]]);
- }
如果有哪个大大会C++
然后想要接一个小project来做
可以PM我
谢谢




