i want to know how we can write programe add,sub,divid,multible the matrix in c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 7arame
    New Member
    • Nov 2008
    • 1

    i want to know how we can write programe add,sub,divid,multible the matrix in c++

    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......
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    We won't give you the codes because that would be helping you to cheat on your homework.
    Read your textbook, try the code and post if you get problems with your code.

    Comment

    • themadme
      New Member
      • Mar 2007
      • 53

      #3
      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

      Working...