I have a problem while reading from a .txt file, I have a class named student and it has variables like name, age etc.
and there are several lines in the text file, each reprsent the whole information of a student, now the question arises, how to read them into name and age and others respectively.
Because one's name may have 2, 3 or 4 words, I dont know where to stop, especially when class student has, for example , address which is also consisted with lots of words.