X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=TP_13%2Fexo1%2Flib%2Farray.h;h=efdb488bc9c0b9a1e7e97162c42535f55e4e2aed;hb=475ee86d70921638c700bc0934441c7fe2c905d1;hp=3326460fca7b414e9705de030ff683c441d3e424;hpb=33b9c6461d00f013d692dde3c3f79f0b002ce564;p=TD_C.git diff --git a/TP_13/exo1/lib/array.h b/TP_13/exo1/lib/array.h index 3326460..efdb488 100644 --- a/TP_13/exo1/lib/array.h +++ b/TP_13/exo1/lib/array.h @@ -1,6 +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* 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 */