Ask Your Question

Revision history [back]

If I understand right, you use Windows and Visual Studio. Add the following includes at the beginning of source code:

#include <windows.h>
#define _USE_MATH_DEFINES
#include <math.h>