question for looping through this map structure and text files
e.g.. this is how i insert data into my map..
typedef map<string, string> MapFunction;
how can i then loop through the dbase map and write the entries to c:\dbase.txt?
i know for text writing, we use #include <iostream>, but im unsure as to how we loop through the map, and get each entry in the map and write it to the text file, so after the loop is done, the dbase.txt should be like this
I would much appreciate it if someone can help me