A
Aaron Gallimore
Hi,
Pretty simple one I think...Is there a "power of" or squared function in
C++. This is what i'm trying to achieve.
(array[1][0]-array[0][0])*2
this doesnt work with minus numbers so i need a square or power function.
also.. Is there a "sum of" function. Ultimately i'm trying to do a euclidean
distance equation and need to find the "sum of" some numbers.
Thanks
Aaron
Pretty simple one I think...Is there a "power of" or squared function in
C++. This is what i'm trying to achieve.
(array[1][0]-array[0][0])*2
this doesnt work with minus numbers so i need a square or power function.
also.. Is there a "sum of" function. Ultimately i'm trying to do a euclidean
distance equation and need to find the "sum of" some numbers.
Thanks
Aaron