for the following code
all variables are declared as doubles.
yVertex = (aCoeff * xVertex ^ 2) + (bCoeff * xVertex) + cCoeff;
Are there any specific rules for using '^'???




Posted 12 October 2012 - 04:29 PM
yVertex = (aCoeff * xVertex ^ 2) + (bCoeff * xVertex) + cCoeff;
Posted 12 October 2012 - 04:34 PM
Posted 13 October 2012 - 12:00 AM
#include<math.h> int a = 4 ; cout << pow(a, 2) ;
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
