From 87a3b113218028d55597a72d4c6597ef0648be73 Mon Sep 17 00:00:00 2001 From: Jose-maria FULLANA Date: Wed, 8 Nov 2023 16:41:02 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'?= =?UTF-8?q?TP6'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TP6/algebre.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 TP6/algebre.c diff --git a/TP6/algebre.c b/TP6/algebre.c new file mode 100644 index 0000000..0458677 --- /dev/null +++ b/TP6/algebre.c @@ -0,0 +1,30 @@ +#include + +#define N 2 + +struct vector { + float _[N]; +}; + +int main() +{ + struct vector X; + void AfficheVect (struct vector X); + + X._[0]= 1; + X._[1]= 2.; + + AfficheVect(X); + + return 1; +} + +void AfficheVect (struct vector X) +{ + + for(int i=0; i Date: Thu, 9 Nov 2023 00:15:33 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Transf=C3=A9rer=20les=20fichiers=20vers=20'?= =?UTF-8?q?TP6'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit