Thread: Matrix Class & more...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    417

    Matrix Class & more...

    I have a matrix class that came with a book on C++, and it mentions that they left out several commonly used features in matrix classes.

    There's a link to http://www.ProgramCPP.com/chapter15/15_2_1.html that has new source, but it doesn't work if I cut and paste, so somehow I have to merge it.

    The next 3 posts have the attatched three files.

    Can anyone please help me? I tried putting the new parts at the appropriate places, but this stumps me:

    matrix<itemType>:peration + (matrix<itemType> first, matrix<itemType> second)

    shouldn't that be
    matrix<itemType>:perator + (matrix<itemType> first, matrix<itemType> second)?

    Also, +, -, and * are what this update would add.

    If I try to compile the matrixex.cpp... then it doesn't work.

    Thanks for your time!
    Last edited by Trauts; 11-26-2002 at 09:42 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Matrix Help
    By HelpmeMark in forum C++ Programming
    Replies: 27
    Last Post: 03-06-2008, 05:57 PM
  2. matrix class
    By shuo in forum C++ Programming
    Replies: 2
    Last Post: 07-13-2007, 01:03 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. My Window Class
    By Epo in forum Game Programming
    Replies: 2
    Last Post: 07-10-2005, 02:33 PM