From textfile(Range.txt),
Range:1:2:3:4:5:6....:n:
There's a list of result, but i only need to extract digit 1 2 3 to the last digit, but sometimes the last digit may varies
so i read in the file, extract out the delimiter and push it into a vector.
ifstream myfile;
myfile.open("Range.txt");
istringstream range(temp);
getline(range, line,':');
test.push_back(line);
How do i capture all the value? I have this and it only capture one digit.