Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int display(float *, int, int);
- int display(float *m, int rows, int cols) {
- int x,y = 0;
- for (x=0; x < rows; x++) {
- for (y=0; y < cols; y++) {
- printf("%f ", m[x*cols + y]);
- }
- printf("\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment