Hello everybody,

i'm a beginner in programming, so I hope someone can help me.
I'm programming in Visual Studio 2008 in C++ and I'd like to use the error functionor the complementary one, erf(x) and erfc(x). I've looked for a solution in the internet and I've seen that including math.h should be enough, because this function is in this header. So I tried doing #include <math.h>,#include <math>, #include "math.h",#include <cmath.h>, #include <cmath> but during compilation an error appears, C3861: not found "erf" identifier.

Could someone help me solving this?

Thank you very much