Let\'s say I have the following code snippet:
int i; double value; for(i = 0; i < CONSTANT; i++) { value = (double)pow(2, i); }
Trying
http://www.cplusplus.com/reference/clibrary/cmath/pow/
In C, only the version taking two double parameters exists with this name. The other overloads are only available in C++.
It looks like you can't pass an int, so just make i a double and that should work.
i