init projet
This commit is contained in:
16
tp2/genprint.h
Normal file
16
tp2/genprint.h
Normal 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_
|
||||
Reference in New Issue
Block a user