Hello to all, does anyone know any approaches that get system time that works on platform independent ?
Thanks.
Hello to all, does anyone know any approaches that get system time that works on platform independent ?
Thanks.
>> Hello to all, does anyone know any approaches that get system time that works on platform independent ?
Sure, any of the standard C library functions.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
You mean time(0);
>> You mean time(0);
I mean any of the function related to the ctime header. And just being pedantic here but time(0) is not a function but it's *invocation*.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }