Hello
I want to write a program in c++ that computes the average for a university student , but my proplem is that i dont know how to read a line -from a txt file- as a string (subject name ,i.e: math 101) , a int (credit hours ,i.e: 3 ) , and another string (grade in letters ,i.e: A )
Knowing that the txt file contains lines that contains the previous data