Code:
 cisDegree >> student_Identifier >> last_Name >> first_Name >> middle_Initial >> grade_Point_Average >> major_Char;
	while (!cisDegree.eof())
	{

//Nested decision structure to write the information to the appropriate file according to their major.
		if (major_Char == 'A')
			appMajors << student_Identifier << " " << last_Name << " " << first_Name << " " << middle_Initial << " " << grade_Point_Average << " ";
		else if (major_Char == 'N')
			netMajors << student_Identifier << " " << last_Name << " " << first_Name << " " << middle_Initial << " " << grade_Point_Average << " ";
		else if (major_Char == 'P')
			progMajors << student_Identifier << " " << last_Name << " " << first_Name << " " << middle_Initial << " " << grade_Point_Average << " ";
		else if (major_Char == 'W')
			webMajors << student_Identifier << " " << last_Name << " " << first_Name << " " << middle_Initial << " " << grade_Point_Average << " ";
		
		cisDegree >> student_Identifier >> last_Name >> first_Name >> middle_Initial >> grade_Point_Average >> major_Char;
	}
I have all the variables declared, and all the files open, but for everywhere there is a >>, << before last_Name it says error 2679. im supposed to read the 6 variables from the input file and send them based on char to separate output files. Any idea on how to fix this error?