diff options
| -rw-r--r-- | matrix.c | 4 | ||||
| -rw-r--r-- | matrix.h | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -1,8 +1,6 @@ -#include <stdio.h> -#include <stdlib.h> -#include <stdbool.h> #include "matrix.h" + void showMatrix(matrix *m){ for(int i = 0; i < m->rows; ++i){ for(int j = 0; j < m->cols; ++j){ @@ -2,6 +2,10 @@ #ifndef MATRIX_H #define MATRIX_H +#include <stdio.h> +#include <stdlib.h> +#include <stdbool.h> + typedef struct matrix{ int rows; |
