#include #include #include using namespace std; typedef map Table; typedef Table::value_type Pare; int main(){ Table table; table.insert(Pare("aaa", '1')); table.insert(Pare("bbb", '2')); table.insert(Pare("ccc", '3')); Table::iterator it = table.begin(); while(it != table.end()){ cout << (*it).first << " " << (*it).second << endl; it++; } }