c++ getline() looping when used in file with a read in int array?
问题 So I posted this the other day with not enough information and never got an answer once I added the information asked, so I can't get the loop to work so my question is, I am reading from a file that has large text of strings on each line, it then has ints on the next line the strings need to be read into questionArrays() and the ints into answersArrays. Currently the loop simply goes round once and then just loops as it doesn't get any further in the file on the next getline() I did have