下午想在vs2010内想对图像取对数,做图像的log对数图像,居然总是显示

====================================================================================

1>e:\vs2010\mycimage\mycimage\mycimageview.cpp(328): error C3861: 'log': identifier not found

====================================================================================

明明已经使用了“ #include <math.h>",还是出现这样的问题。百度,尝试各种关键字没有结果。

google,因为被GFW,很久不能用,不好用,还是费劲巴列的找了好久。MSDN,各种找,都没有结果。

最后,看到有人提是不是路径放错了,于是把include从.cpp文件移到了.h文件中,结果,顺利了。

参考资料:​​http://book.77169.com/data/web5206/20050228/20050228__3731689.html​