The first call for getline() is being skipped but the second call is working. What am I doing wrong?
string animal, q;
cout << "Darn, I lost. What was is?";
getline(cin, animal);//this is being skipped
cout << "Enter a question that is true for a(n) " << animal << " and false for a(n) " << question->value << ": ";
getline(cin, q);
Looks like you had some other input before this.Put a getchar() before getline to consume buffer stored characters.