X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=TP_13%2Fexo1%2Flib%2Farray.h;h=3bc6573f4af22f8ec7b758027a6d32350cd5f542;hb=e40016767464ae5f361e1be20a9bbc6858878e5e;hp=1f0be270c59239df881644dce69aa91f3ae5235c;hpb=fac749d5f8fab2991c3b149b82f168cec194362b;p=TD_C.git diff --git a/TP_13/exo1/lib/array.h b/TP_13/exo1/lib/array.h index 1f0be27..3bc6573 100644 --- a/TP_13/exo1/lib/array.h +++ b/TP_13/exo1/lib/array.h @@ -1,5 +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 */