print hash - cout <<...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 hmap::iterator it //hmap2::iterator it2 /* for(it = word_map.begin() it != word_map.end() it++) { // if((it->first) == "sport"){ cout << "*"<<(it->first) << "* * " int size = (it->second).size() for(int x = 0 x < size x++) { int num = (it->second)[x].first
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cout &lt;&lt; (it-&gt;second)[x].first &lt;&lt; &quot; &quot; it2 = file_map.find(num) cout &lt;&lt; (it2-&gt;first) &lt;&lt;&quot; &quot; &lt;&lt; (it2-&gt;second)&lt;&lt;&quot; &quot; cout &lt;&lt; (it-&gt;second)[x].second &lt;&lt; &quot; end&quot; } cout &lt;&lt; endl // } }*/...
View Full Document

This note was uploaded on 09/17/2008 for the course EECS 280 taught by Professor Noble during the Fall '08 term at University of Michigan.

Ask a homework question - tutors are online