So I was programming a little question game for a course and then I got this error :
And there is my code :
My main function is the following :
int main() { int playerScore = 0; Question question; question.BuildQuestions(); playerScore = question.answerQuestion(playerScore); }
The only thing that I could find on the internet is that I am indexing an array out of bound, but I can't find the problem with mine. If someone could help it will be very appreciaded
String subscript out of range
× Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
× Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.