Possible Duplicates:
Defining a matrix as an array of arrays and computation its inverse matrix in C++
Simple 3x3 matrix inverse code (C++)
how to find a inverse of matrix in c++ . simple coding just to find inverse of 3by3 matrix and also for 4 by 4 matrix