title: cout print hex instead of decimal
body: <p>has it occurred to anyone that a simple <code>std::cout</code> might print a value in hex format when it is supposed to format just a decimal(like an integer)?</p>
  
  <p>for example, I have a line as :</p>
  
  <blockquote>
    <p>std::cout &lt;&lt; "_Agent [" &lt;&lt; target &lt;&lt; "] is still
    among " &lt;&lt; <strong>((target->currWorker)->getEntities().size())</strong> &lt;&lt; " entities
    of worker[" &lt;&lt; target->currWorker &lt;&lt; "]" &lt;&lt; std::endl;</p>
  </blockquote>
  
  <p>which would print :</p>
  
  <blockquote>
    <p>_Agent [0x2c6d530] is still among <strong>0x1</strong> entities of worker[0x2c520f0]</p>
  </blockquote>
  
  <p>Note:</p>
  
  <p>1-the said out put is sometime decimal and some times hex</p>
  
  <p>2- the behaviour is smae even if I change <code>((target-&gt;currWorker)-&gt;getEntities().size())</code> to <code>(int)((target-&gt;currWorker)-&gt;getEntities().size())</code></p>
  
  <p>any hints?</p>
  
  <p>thanks</p>