i want to know how we can write programe add,sub,divid,m ultible the matrix in c++,,,,,,, and if u can give to me the code i will be thanxfull for u......
i want to know how we can write programe add,sub,divid,multible the matrix in c++
Collapse
X
-
its quite simple, all you would need is a class that holds float values for a matrix ( _x1, _x2, and so on)
then you would need to put overloaded operator functions in that class for adding, subtracting etc.
for more info, just look up at directx SDK and LEARN how that has been done or as r035198x's said look up text books.Comment
Comment