Files
prog-c/tp2/genprint.h

17 lines
394 B
C
Raw Normal View History

2024-10-06 15:32:20 +02:00
#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_