Moved includes

This commit is contained in:
Soikk 2022-08-24 17:55:01 +02:00
parent 0c77a69205
commit 0a64f5fa59
2 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include "matrix.h" #include "matrix.h"
void showMatrix(matrix *m){ void showMatrix(matrix *m){
for(int i = 0; i < m->rows; ++i){ for(int i = 0; i < m->rows; ++i){
for(int j = 0; j < m->cols; ++j){ for(int j = 0; j < m->cols; ++j){

View File

@ -2,6 +2,10 @@
#ifndef MATRIX_H #ifndef MATRIX_H
#define MATRIX_H #define MATRIX_H
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
typedef struct matrix{ typedef struct matrix{
int rows; int rows;