TP 13 exo1: create an array in the main()
[TD_C.git] / TP_13 / exo1 / lib / array.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9c06bc8eeee90c70d1f927565ca3dfd07ea2ee5e 100644 (file)
@@ -0,0 +1,13 @@
+#ifndef ARRAY_H
+#define ARRAY_H
+
+#include "sort.h"
+
+int create_tab(int tab[], unsigned tab_size);
+void free_tab(int tab[]);
+int concat_tab(int tab1[], unsigned tab_size1, int tab2[], unsigned tab_size2, int tab_dest[]);
+int resize_tab(int tab[], unsigned tab_size);
+int count_tab_element(int tab[], unsigned tab_size, int element);
+void sort_tab(int tab[], unsigned tab_size, criteria_cb criteria);
+
+#endif /* ARRAY_H */