TP 13 exo2: Implement the missing bits to do a full game.
[TD_C.git] / TP_13 / exo1 / lib / io.h
index 56eef2376c3ac654220a76fdbf35eddbeffd3adb..6dfc77aa392459b2016b0cf7ab87bc5af6c5dadc 100644 (file)
@@ -1,6 +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 */