How to read file like this:
John; Michaels; USA;
Nick; Davidson; France;
into vector<Person> where class Person contains fields name, surname, country?
I tried to overload operator >> for ifstream but it shows error that string cannot be at the right side of this operator? Is there any other way like using stringstream or something else?