diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -47,6 +47,9 @@ void insert(struct list *student_list) { // Get a student name from the terminal input, remove it from the list and // deallocate the appropriate memory (if needed). void delete(struct list *student_list) { + list(student_list); + printf("Name of student to delete:\n"); + char *name = read_input(); if (!name) { printf("Failed to read student name\n"); |
