Im trying to use tgamma function in c++ 10.It's running on a 32-bit machine. I've included , but still getting the error "identifier tgamma is undefined ". what could be the reason?
Error:identifier tgamma is undefined in c++ although <math.h> is included
1.2k views Asked by NavidAmin At
2
The reason why you cannot use
tgamma
is because your compiler doesn't support the standard in which it was introduced. You'll need to use a compiler / standard library that does support c++11 or use another implementation oftgamma
as advised in an answer to in a similar question What to do if tgamma() function is not defined? which Resource kindly linked for you.