I have a function read() that reads a file and store information into a map. However, whenever the function calls map.insert(), it gives me an error.
read()
map.insert()