- map<string,int>::iterator it = (*this).begin();
- for(it;it!=(*this).end();it++){
- cout << it->first << '\t' << it->second << endl; //prints out keys and values of the map this.
+ map<string,int>::iterator it;
+//cout << (*this).size() << endl;
+ for(it = (*this).begin(); it!=(*this).end(); it++){
+ out << it->first << '\t' << it->second << endl; //prints out keys and values of the map this.
+ //out << it->first << '\t' << it->first << endl;