C ordening

This commit is contained in:
Rens Pastoor
2025-05-27 23:26:28 +02:00
parent 39269a71a7
commit 517087ccc1
207 changed files with 0 additions and 4278 deletions

View File

@@ -0,0 +1,25 @@
#ifndef TERMINAL_IO_H
#define TERMINAL_IO_H
#include "animal.h"
typedef enum
{
MO_SHOW_ANIMALS,
MO_ADD_ANIMAL,
MO_REMOVE_ANIMAL,
MO_SORT_ANIMALS_BY_AGE,
MO_SORT_ANIMALS_BY_YEAR_FOUND,
MO_SORT_ANIMALS_BY_SEX,
MO_FIND_ANIMAL,
MO_LOAD,
MO_SAVE,
MO_QUIT
} MenuOptions;
MenuOptions getMenuChoice(void);
void printAnimals(const Animal* animals, int nrAnimals);
//add the missing functions
#endif