can someone give me a good link on how to add, subtract, multiply matrixes i cant fint it anywhere

Just use google

Use loops to iterate through each dimension of the matrices. Doing other matrix math is about as simple as below. Note: I didn't compile or test this code.

// add 2 matrices
int array1[2][2] = {{1,2},{2,3}};
int array2[2][2] = {{3,4},{4,5}};
int array3[2][2];

for(int i = 0; i < 2; i++)
{
  for(int j = 0; j < 2; j++)
  {
     array3[i][j] = array1[i][j] + array2[i][j]);
  }
}

>i cant fint it anywhere
Then you weren't looking very hard. In about 3 seconds, I opened my browser to www.google.com, typed "matrix arithmetic", and was bombarded by pages and pages of relevant links.

oh well i didnt search "matrix arithmetic" i searched "matrices in c++"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.