I am currently writing a test grading program. It inputs a file, and uses get line to read each line. Each line includes the name of the student, and then their 15 answers (in for format of ABCD) after. I am just wondering how I can output just the name of each line. Say the first line reads
"Jane Doe ABDCAACBD.." etc.
How do I get my program to just output "Jane Doe"?