View Single Post
Join Date: Nov 2008
Posts: 3
Reputation: vahny is an unknown quantity at this point 
Solved Threads: 0
vahny vahny is offline Offline
Newbie Poster

Re: c++ program to find the product of two array of integers-clear errors?

 
0
  #6
Nov 21st, 2008
I've modified the programlike this, but its still not working:What's probem with this function?
  1. int matpro(int row1[i],int col2[k],int pro[i][k]);
  2. pro[i][k] += pro[i][k]+ (*matpro)(&row1[i],&col2[k]);
  3. cout << "[" << i << "][" << k << "] " << pro[i][k];
  4. return(pro[i][k]);
  5. 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
Reply With Quote