X-Git-Url: https://git.piment-noir.org/?p=TD_C.git;a=blobdiff_plain;f=TP_13%2Fexo1%2Flib%2Farray.h;h=3bc6573f4af22f8ec7b758027a6d32350cd5f542;hp=3326460fca7b414e9705de030ff683c441d3e424;hb=e40016767464ae5f361e1be20a9bbc6858878e5e;hpb=0139cafd72a74369bf88580c3a533ef923c97586 diff --git a/TP_13/exo1/lib/array.h b/TP_13/exo1/lib/array.h index 3326460..3bc6573 100644 --- a/TP_13/exo1/lib/array.h +++ b/TP_13/exo1/lib/array.h @@ -1,6 +1,11 @@ #ifndef ARRAY_H #define ARRAY_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 */