thanks for your quick response!

why do you think that the size is wrong? because it works well for me (doing matrix additions etc.).

i know how to multiply matrices, but heres the problem better illustrated:

Code:
a b  *  y  =  n
c d       z      m
the program would have to do:
[code]n=a*y+b*z and m=c*y+d*z

i figured that it has to be somewhat like this:

for(int nRo = 0; nRow