I've modified the programlike this, but its still not working:What's probem with this function?
int matpro(int row1[i],int col2[k],int pro[i][k]);
pro[i][k] += pro[i][k]+ (*matpro)(&row1[i],&col2[k]);
cout << "[" << i << "][" << k << "] " << pro[i][k];
return(pro[i][k]);
void matpro(int row1, int col2, int (*matpro)(int &row1,int &col1));
Last edited by Ancient Dragon; Nov 21st, 2008 at 11:20 pm. Reason: add code tags