Dictionary.cpp:484:10: error: ‘iterator’ is not a member of ‘values’
Dictionary.cpp:484:10: error: ‘iterator’ is not a member of ‘values’
Dictionary.cpp:484:33: error: template argument 1 is invalid
Dictionary.cpp:484:33: error: template argument 3 is invalid
Dictionary.cpp:484:35: error: wrong number of template arguments (1, should be 2)
/usr/include/c++/4.5/bits/stl_pair.h:71:12: error: provided for ‘template<class _T1, class _T2> struct std::pair’
Class values has nothing called 'iterator' in it. In fact, value is not anything you can iterator over, so it would make no sense to put an iterator in it. Other problems are because you're missing one >. I suppose, if you put the > between "values" and "::", all of your problems will be solved...