you could try reading the text then put the inputs in a 2D array then choose from there
Is there a way to have each question followed by a list of four possible answers all in a text file that can be added to at any time and pull them from that instead of programing them in one by one.
is the answers right next to the questions? meaning theyr'e in one line
you could try getting the whole line using fgets()then tokenize with space as the delimeter then save them in a 2D array