There are some other threads about math.h
but they were about forgetting to include it, but I do include it and I still get error: 'PI' was not declared in this scope
.
Sure I could define it myself, but how can this be???
There are some other threads about math.h
but they were about forgetting to include it, but I do include it and I still get error: 'PI' was not declared in this scope
.
Sure I could define it myself, but how can this be???
In Unix/Linux’s /usr/include/math.h it’s M_PI
.