c++ - Trying to access fmin and fmax in Qt using math.h -
i trying use basic c functions in qt without luck. i've tried both of following:
#include <math.h>
#include <cmath>
according this, fmin
, fmax
should in 1 of above. cannot compile using these functions; errors "identifier not found" both of them.
additionally, while can open math.h in qt, fmin , fmax functions not seem present in file when search them. qt using else these basic requirements?
qt doesn't mangle c++ standard headers. environment, platform, compiler etc.?
in c++ easier use std::min()
, std::max()
functions. templated, can use them 2 float arguments , obtain same result fmin
/fmax
. defined in algorithm
header.
Comments
Post a Comment