Hi...
It seems I'm always having problems with the std:: thing...
When I try this:
I get the following error messages:Code:#include <limits>
using namespace std;
int main(){
double log_double_max = std::log(std::numeric_limits<double>::max());
const double log_double_min = log(numeric_limits<double>::min());
return(0);
}
Nevertheless, when I type std:: the object browser pops up and I see the log, numeric_limits and all the other functions.Quote:
error C2039: 'log' : is not a member of 'std'
error C2589: '(' : illegal token on right side of '::'
error C2143: syntax error : missing ')' before '::'
etc...
So why do I get this error: error C2039: 'log' : is not a member of 'std' then?
Thanks for your input on this.
Niko
