I wanted to read a file with numbers ex:
2
2 3
2 3 4
5 6 7
3
2 2
1 2
2 3
I used the getline () function and I store the results in a vector (string). However, when I access the elements in the vector, the entire line with spaces were stored. I wanted to store elements by number (the numbers represent a matrix)