From 355fd11e2a28df35aaff75d7001811afc99dbd0b Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 5 Nov 2026 15:20:18 +0100 Subject: [PATCH] erstellung des typedef struct Matrix --- Startcode/matrix.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Startcode/matrix.h b/Startcode/matrix.h index cc640d1..499cb61 100644 --- a/Startcode/matrix.h +++ b/Startcode/matrix.h @@ -7,6 +7,14 @@ typedef float MatrixType; // TODO Matrixtyp definieren +typedef struct +{ + int anzahlZeilen; + int anzahlSpalten; + int speicher[][]; + +} Matrix; + Matrix createMatrix(unsigned int rows, unsigned int cols); void clearMatrix(Matrix *matrix);