init projet

This commit is contained in:
2024-10-06 15:32:20 +02:00
commit d449d4b10a
84 changed files with 13546 additions and 0 deletions

16
tp2/genprint.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef GENPRINT_H_
#define GENPRINT_H_
#include "genprint.h"
/* genprint.c */
// Affiche T[i] avec le bon format suivant le type t
void print(type_t t, void *T, int i);
// Initialisation aléatoire de l'élément T[i]
void init(type_t t, void *T, int i);
// Affiche le contenu du tableau array d'éléments de type t
void print_array(void *array, type_t t, int nb);
#endif // GENPRINT_H_