+ 2
For everyone, who want PI, e or some other const
#define _USE_MATH_DEFINES // #include <cmath> #define _USE_MATH_DEFINES // #include <math.h> pi = M_PI; e = M_E √2 = M_SQRT2
1 ответ
+ 2
thanks
#define _USE_MATH_DEFINES // #include <cmath> #define _USE_MATH_DEFINES // #include <math.h> pi = M_PI; e = M_E √2 = M_SQRT2