User Profile

Collapse

Profile Sidebar

Collapse
SugaryLilly
SugaryLilly
Last Activity: Apr 12 '08, 03:49 AM
Joined: Apr 5 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • SugaryLilly
    replied to Honestly what am I doing wrong here?
    in C
    ugh sorry
    please don't reply at all to this
    im the biggest idiot ever and i fixed it all.
    See more | Go to post

    Leave a comment:


  • SugaryLilly
    started a topic Honestly what am I doing wrong here?
    in C

    Honestly what am I doing wrong here?

    Ok, so I posted a couple days ago about 2 dimensional arrays! I did my research!! I'm now stuck with this code.. first, the determinant part of it - where I take the determinant of the 2x2 matrix will not work... it's telling me some business about "invalid operand types... "
    Secondly, when I put in a matrix.. say 3x2 it will not transpose! 2x2 matrices it will.. but why won't it transpose a 3x2? or a 2x3?

    At...
    See more | Go to post
    Last edited by Banfa; Apr 11 '08, 12:22 PM. Reason: Code removed

  • SugaryLilly
    started a topic Two Dimensional Array
    in C

    Two Dimensional Array

    Hey, so for our c++ class, we are asked to ask the user to create a matrix.. they'll input the number of rows/columns. Then they'll input the values into each row and column.

    typedef vector<int> vd;
    typedef vector<vd> x;
    x Matrix;
    int rows, columns;
    int val1, val2;

    cout << "Please enter the number of rows in your matrix: " << endl;
    cin >> rows;...
    See more | Go to post
No activity results to display
Show More
Working...