#include "Dictionary.h" #include #include using namespace std; int main() { Dictionary dict; int k = 20; for(int i=0; i::Enumerator e = dict.getBegin(); while (e.next()) { cout << "[" << e.current().key << "," << e.current().value << "] "; } cout << endl; Dictionary::Enumerator eb = dict.getEnd(); while (eb.prev()) { cout << "[" << eb.current().key << "," << eb.current().value << "] "; } cout << endl; getchar(); }