I am trying to read in information from an external file using ifstream. I use fin >> to input the data usually. Now I have to input a full name. Can anyone tell me what I use to do this? do I use a string type variable and then just fin >> string1.
Example
112 2 Any Name Here
1 0 4 5
I need to pull the Any Name Here into a variable and then use my usual
fin >> whatevertopullin1