Commit | Line | Data |
---|---|---|
fac749d5 JB |
1 | #ifndef IO_H |
2 | #define IO_H | |
3 | ||
33b9c646 | 4 | int prompt_value(const char* msg, int* result); |
cfdd46d2 | 5 | int* prompt_array(int array[], unsigned* size); |
04b0afb5 | 6 | void handle_prompt_error(int errno); |
fac749d5 | 7 | |
475ee86d JB |
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); | |
59941dc1 | 13 | void do_resize(int array[], unsigned* size); |
475ee86d JB |
14 | |
15 | void display_array(int array[], unsigned size); | |
fac749d5 JB |
16 | |
17 | #endif /* IO_H */ |