Jun 04 2009
this post is about dealing with “ambiguous call to overloaded function” type of errors in microsoft visual studio 2008.you are welcome to add solutions to similar type of errors in comment section.
case 1 : use of math .h header to make use of log function
suppose the code fragment is similar to this one.
t=log((count[leaf]+1))/log((2));
hereĀ after debugging the error you get is given below.
“error C2668: ‘log’: ambiguous call to overloaded function”
1 Comment |





