Search:

Type: Posts; User: Great Satchmo

Search: Search took 0.01 seconds.

  1. Need a quick example! Operator overloading and matrix

    So i have a matrix that is [2][2], and i want to be able to have:
    [cody]
    Matrix a(1, 2, 3, 4); //a = [2][2] - 1, 2, 3, 4
    Matrix b(4, 3, 2, 1; //b = [2][2] - 4, 3, 2, 1
    Matrix c;

    c = a + b;...
  2. Replies
    1
    Views
    1,254

    Operator overloading question

    I have a class written, and i need to overload the operator + for it, so it just sums everything up really.



    Folder f1;
    f1.add_entry("name","post");
    // f1.name[0] = "name"
    // f1.post[0] =...
  3. Replies
    3
    Views
    1,139

    Simple class problem.

    Alright, first off yes this is homework, but i'm giving it my try...but i just need some guidance on a few things. I honestly NEED to learn this stuff, and i know that.

    edit: clarify...i already...
Results 1 to 3 of 3