Advertisement
Guest User

Untitled

a guest
Apr 5th, 2020
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1.         std::istringstream tileMatrix(layerDataElement->GetText()); //1,1,1,1,1,1,1,1,1
  2.         string exampleVal;
  3.         while (getline(tileMatrix,exampleVal,','))
  4.         {
  5.             matrix.push_back(stoi(exampleVal)); // 1,1,1,1,1,1,1
  6.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement