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