I\'m using a fairly new install of Visual C++ 2008 Express.
I\'m trying to compile a program that uses the log2 function, which was found by including using Eclipse
From here:
Prototype: double log2(double anumber); Header File: math.h (C) or cmath (C++)
Alternatively emulate it like here
#include ... // Calculates log2 of number. double Log2( double n ) { // log(n)/log(2) is log2. return log( n ) / log( 2 ); }
Unfortunately Microsoft does not provide it.