'log10' identifier not found error on compiling
<p>I am trying to complile some trie code. Most of the part is fine except that there is a line which mentions
log10(probab)/log10(2.0)</p>

<p>I am getting error on this line
error : 'log10' identifier not found
error : 'log10' identifier not found</p>

<p>I tried to include the header file <code>#include &lt;cmath&gt;</code> in file, 
but on compiling I start getting huge number of errors. Screenshot: <a href="http://i.imgur.com/DgAn3.png" rel="nofollow">http://i.imgur.com/DgAn3.png</a></p>

<p>Here's the code <a href="http://pastebin.com/XLXggW4R" rel="nofollow">pastebin.com/XLXggW4R</a> <br/>Can't say what specifically goes wrong on including . However, I have mentioned with a comment where it gives an error –</p>
