This video creates a STL Map from a CSV file. I have a CSV file of countries obtained from developer.google.com. This file has four columns: a unique code, lat, lon, and the name of the country. I read the file, and use the find, substr, and erase functions to parse and tokenize the string. I then build the map using the code as the key, and a class instance as the data.
The data and code are available from my GitHub repos. https://github.com/leecottrellPTC/cpp...