Hey guys, running into a strange issue using the log() function. The compiler says that “‘log’ is not declared in this scope.”
I’ve included a screenshot. Any ideas? Thanks!
Hey guys, running into a strange issue using the log() function. The compiler says that “‘log’ is not declared in this scope.”
I’ve included a screenshot. Any ideas? Thanks!
I think including math.h should fix the problem.
#include "math.h"
Perfect, that worked. That was my initial reaction, but I was thrown off because log() turned blue as if it was recognized.
Thanks for the quick reply!