TP 13 exo2: Implement the missing bits to do a full game.
[TD_C.git] / TP_13 / exo1 / lib / io.h
1 #ifndef IO_H
2 #define IO_H
3
4 int prompt_value(const char* msg, int* result);
5 int* prompt_array(int array[], unsigned* size);
6 void handle_prompt_error(int errno);
7
8 void display_choice_menu();
9
10 int* do_concat(int array[], unsigned* size);
11 void do_sort(int array[], unsigned size);
12 void do_count(int array[], unsigned size);
13 void do_resize(int array[], unsigned* size);
14
15 void display_array(int array[], unsigned size);
16
17 #endif /* IO_H */