So I\'m trying to read input like this from the standard input (using cin):
cin
Adam English 85 Charlie Math 76 Erica His
You can just use cin >> name >> course >> grade; because >> will read until whitespace anyway.
cin >> name >> course >> grade;
>>