jeudi 4 janvier 2018

c++ - parse string with int values to map

What is the best way to parse below string to map of string and int values

000,001,1,009,000003

to a std::map with key values

aaa-000
bbb-001
c-1
dddddd-000003

Aucun commentaire:

Enregistrer un commentaire