Hi,
how can I round double in Visual C++ ?
In Dev-Cpp works:
#include <math.h>
int myInt;
myInt = int (round(45.65445));
, but in Visual C++:
#include <cmath>
int myInt;
myInt = int (round(45.65445));
gives -> error C2065: 'round' : undeclared identifier