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...
Type: Posts; User: Boromir4k
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...
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?
...
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...
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,...