From: John Maddock (jz.maddock_at_[hidden])
Date: 2008-06-12 09:04:18
> I have been trying to compile code that uses the erfc function. I can
> get it to build successfully using DevC++18.104.22.168, but cannot using
> Win-Visual C++2005 Express (C90 standard) which I have been using to
> construct a form for input-output. I have downloaded the boost
> and have changed the configuration properties to include the boost
> directory and changed to Not Using Precompiled Headers. I continue to
> receive the following: 'erfc': identifier not found. I have tried
> the libraies for DevC++22.214.171.124 but receive the same error. I am new to
> C++ and this a small simple program but am spending a significant
> of time getting the erfc issue resolved. Any help would be very
> appreciated. Thank you.
We would need to see the sample code to understand what you're doing wrong,
but are you including <boost/math/special_functions/erf.hpp> ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk