I have managed to break down line by line of a file containing several lines of datas. Using
string x;
getline(abc.txt,x);
however, if i would like to further break down the string x (as it contains "1 4 12 54") into each integer and store each of them into an array. What should i do? I tried to use get(). But don't really know how to use. What header file should i include?