R
Raf
Hello everybody !!
I'm newbye in programming with Microsoft Visual C/C++ software (MSVC).
I'm nowadays porting a library initialy developped on Linux and
written in C++ without object oriented capabilities; I'm trying to
compile it on MSVC.
My current problem is that the initial code is using a rounding to the
nearest integer function named "rint" only defined on the GNU C
library (in the GNU math.h file). And I really can't find an
equivalent of this function on the MSVC documentation. I've tried with
the Round function (which, according to the documentation, needs to
use the System namespace), but the namespace System is unknown. Am I
doing a bad use of the Round function and/or the System namespace ?
Does anyone know basic rounding functions on MSVC ??
Any help would be welcome !!
Have a nice week ....
I'm newbye in programming with Microsoft Visual C/C++ software (MSVC).
I'm nowadays porting a library initialy developped on Linux and
written in C++ without object oriented capabilities; I'm trying to
compile it on MSVC.
My current problem is that the initial code is using a rounding to the
nearest integer function named "rint" only defined on the GNU C
library (in the GNU math.h file). And I really can't find an
equivalent of this function on the MSVC documentation. I've tried with
the Round function (which, according to the documentation, needs to
use the System namespace), but the namespace System is unknown. Am I
doing a bad use of the Round function and/or the System namespace ?
Does anyone know basic rounding functions on MSVC ??
Any help would be welcome !!
Have a nice week ....