I need to read values from an text file. There is multiple values on each line, and there is over a couple of thousand lines in the text file.
I want to save each individual value to a vector, but i dont know how i should make the program to read every value on the same line.
I tried to use getline, but it takes the whole line and saves it.
Grateful for every help i can get!