i am trying to square an array but i get this error ?
Can anyone please tell me how can i get rid of this
error C2440: '=' : cannot convert from 'double' to 'double *'
// pointer to type "double"
then S1 has some values int he algo.
In the end i am trying to sqaure then i get this error .
this is the line giving errors : SquaredArray = S1[i] * S1[i] ;