Unable to solve error on map: map<int,Element>::iterator i2=0;
<p>I am trying to run a tool written in C++. Upon compiling, it throws the following error:</p>

<blockquote>
  <p>tt_hgraph.cpp: In member function ‘void tt_hgraph::Print_tt_hgraph(char*)’:
  tt_hgraph.cpp:774: error: conversion from ‘int’ to non-scalar type ‘std::_Rb_tree_iterator >’ requested</p>
</blockquote>

<p>I have also included a map library. Can anyone help, please?</p>

<p>Thanks in advance.</p>
