diff options
| author | Soikk | 2022-08-24 17:55:01 +0200 |
|---|---|---|
| committer | Soikk | 2022-08-24 17:55:01 +0200 |
| commit | 0a64f5fa59f7dea706c9ee8a8970d150de426bfa (patch) | |
| tree | 3f23bb9fd62296c60fa068ca1b7e902ffadc6c3f | |
| parent | 0c77a6920580eaa08a301a21a9324e6b8938ceba (diff) | |
| download | soikk-matrix-0a64f5fa59f7dea706c9ee8a8970d150de426bfa.tar.xz soikk-matrix-0a64f5fa59f7dea706c9ee8a8970d150de426bfa.tar.zst | |
Moved includes
| -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; |
