title: How to read from a map in C++?
body: <p>I have a map of <code>std::map&lt;int,float,float&gt; m_mapWheelvalue;</code> of 100 elements
  I need to read the values .Code i am using is below:</p>
  
  <pre><code>float fvalue1,fvalue2;
  std::map&lt;double,float,float&gt;::iterator itNewMap;
  itNewMap= m_mapWheelvalue.find(20);     
  if(itNewMap!= m_mapWheelvalue.end())
  {           
          fValue1 = itNewMap-&gt;second;
          fValue2= itNewMap-&gt;third;  
  }
  </code></pre>
  
  <p>but its giving error !!{ third not defined }
  How to read third value
  Please give proper solution</p>