X-Git-Url: https://git.piment-noir.org/?p=TD_C.git;a=blobdiff_plain;f=TP_13%2Fexo1%2Flib%2Fio.h;h=6dfc77aa392459b2016b0cf7ab87bc5af6c5dadc;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=04b0afb5d5c81f1d98e98b9a6e532b1d3c868cc4;hpb=eddc018ded5c49cd7301031d7c6c80022fb91f9d diff --git a/TP_13/exo1/lib/io.h b/TP_13/exo1/lib/io.h index e69de29..6dfc77a 100644 --- a/TP_13/exo1/lib/io.h +++ b/TP_13/exo1/lib/io.h @@ -0,0 +1,17 @@ +#ifndef IO_H +#define IO_H + +int prompt_value(const char* msg, int* result); +int* prompt_array(int array[], unsigned* size); +void handle_prompt_error(int errno); + +void display_choice_menu(); + +int* do_concat(int array[], unsigned* size); +void do_sort(int array[], unsigned size); +void do_count(int array[], unsigned size); +void do_resize(int array[], unsigned* size); + +void display_array(int array[], unsigned size); + +#endif /* IO_H */