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,37 @@
#ifndef ANIMAL_H
#define ANIMAL_H
typedef enum
{
Cat,
Dog,
GuineaPig,
Parrot
} Species;
typedef enum
{
Male,
Female
} Sex;
typedef struct
{
int Day;
int Month;
int Year;
} Date;
#define MaxNameLength 25
#define MaxLocationLength 100
typedef struct
{
int Id;
Species Species;
Sex Sex;
int Age;
Date DateFound;
} Animal;
#endif