If there's file which contains strings in the following format
Howard SaleAssociate 7-Eleven IBM .....(can be continued)
Jack Manager Microsoft IBM Dell Lenovo....
...
and i have
Code:
class interviewee
{
name
position
list<string> experience
so on
The first and second token in each line are useful, but the rest of the line is the same type and I want to store them separately. (The first two token in each line are variables, then the rest of the line store in list)
If I use getline(char,100,' '), what's the best way of storing them ?