What am I not understanding about getline+strings?
问题 This is my first time using stackoverflow. I\'ve been unable to find out the information I need regarding getline. I\'m in a simple programming class for engineering transfers so the code that we write is pretty simple. All i\'m trying to do here is put a user-defined number of questions and answers into two different arrays. My while loop looks like this (I was using a for loop but switched to while just to see if it would stop breaking): int main () { srand((unsigned)time(0)); string quest1