ZhiYi
2006-07-19 10:49:49 UTC
There was an error message about the power function when I compiled the code. It is: error c2668: 'pow' :ambiguous call to overloaded function.
The statement is:
tempDistance += pow((data[selectedInstance][k]-data[j][k]),2);
I used various headers like:
What is the cause of the error? I've checked the syntax and it seems correct.