How to manipulate double array data in C++?
<p>I am getting error C2297: '*' : illegal, right operand has type 'double *' in this piece of code:</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;math.h&gt;
using namespace std;

int main()
{
    double cx=0.5;
    double**image_array;
    image_array= new double*[5];
    for (int i=0;i&lt;5;i++)
    {
        image_array[i]= new double[5];          
        for(int j=0;j&lt;5;j++)
        {
            image_array[i][j]=0;
        }
    }

    for (int i=0;i&lt;5;i++){
        for(int j=0;j&lt;5;j++)
        {
            int i=cx*image_array[i,j];
        }
    }
    system("PAUSE");
    return 0;
}
</code></pre>

<p>Can anyone tell the reason. Can't I multiply the double array with double type data? Or what else can I do?</p>
