"id : A pos : (1,2) : B , ";
after extraction I should have these values :
std::pair<int,int> pos(1,2);
std::string id = "A";
std::string relation = "B";
Parse it....
std::string::substr(index, num); and stoi/stol/stoll/...
couldn't be this solvable with a split function ?
Обсуждают сегодня