I have read contents of a file into my c++ program using ifstream and getline()
Now I would like to insert this data into a user-defined data type object. The input file contains data for 1 employee.
What ways can I do this?
New contributor
Arjun Ragu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.