Quote:
vector results;
The above line should prevent correct compilation of your code.
If your
vector
is empty after execution of the
while
loop then something went wrong either in the
while
control expression or in (all) the stringstream extraction operator calls (why so many calls?). You may either debug or log what happens.