Search:

Type: Posts; User: Boromir4k

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,480

    That did it! Thank you vart, I can now access...

    That did it! Thank you vart, I can now access x[1][1] easily from inside mm_multiply. This is my first project in C (used to C++), and the prof wants us to get good with pointers for when we go into...
  2. Replies
    6
    Views
    2,480

    I think I've gotten my mm_alloc fixed up now,...

    I think I've gotten my mm_alloc fixed up now, that way makes a lot of sense. After that in mm_read, I assign values to the matrices from an array of doubles. What is proper syntax for this?
    ...
  3. Replies
    6
    Views
    2,480

    Thank you for the quick response! I'm pretty sure...

    Thank you for the quick response! I'm pretty sure I wasn't mistaken though, here's the function prototypes:

    double ** mm_alloc( int xysize)

    void mm_read (int *xysize, double ***x_matrix, double...
  4. Replies
    6
    Views
    2,480

    double ***x_matrix

    My instructor has given me a project, specifically stating that we are not allowed to modify function prototypes. The thing is, this double matrix bounces from being a double pointer for allocation,...
Results 1 to 4 of 4