Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::istringstream tileMatrix(layerDataElement->GetText()); //1,1,1,1,1,1,1,1,1
- string exampleVal;
- while (getline(tileMatrix,exampleVal,','))
- {
- matrix.push_back(stoi(exampleVal)); // 1,1,1,1,1,1,1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement