Should be simple, but....

Ok, I'm using gcc 2.7.2 and I want to do something soooo simple...

I want to create a function that will multiply together 2 4X4 matrices,

in my case, 2 dimensional arrays.

So, I've got a fuction with the local vars

double x[4][4];

double y[4][4];

and I fill them up with values. Now, I've written the function to do the

multiplication, but I can't seem to please my compiler with the function

header. I've got:

void mulMat(double m1[4][4], double m2[4][4])

{

...do the math...

Quote:

}

and my compiler just returns the error "syntax error at or near type work

"double" "

Now, my book clearly states I'm allowed to do this, so why won't it let me!!!?

Any responses my e-mail would be most appreciated.

__

Devin Redlich Phone (604) 472-6466

University of Victoria http://www.*-*-*.com/ ~dredlich