Homework question - Involving maps...

Okay all, so i have a conundrum and Its likely just because its late and I cant think, but I cant seem to solve this question. Okay here goes:

18.) Use this code snippet for question 18:

string strList[] = {"store", "map", "array", "set", "multimap", "string"};
int strListSize = sizeof(strList)/sizeof(string);
map<string,int> mLength;
int i;

b. Declare an iterator that locates elements in map mLength. Use the iterator
to output all strings that have length 5.

How might i go about doing this guys??
map<string,int>::iterator mPtr = mLength.begin();
Topic archived. No new replies allowed.