include files:
stdio.h
string.h
ctype.h
genlib.h
simpio.h
strlib.h
The database struct looks like this:
typedef struct{
catT *cats;
int currentMaxSize;
int currentNumberOfCats;
int nextId;
} *DBT;
and the "cats" struct looks like this:
typedef struct {
int id;
string name;
char gender;
int birthYear;
int numberOfColours;
string colours[MAX_COLOURS];
} catT;
If we say I got 3 cats in the DBT database and want to erase one of them, how can i code it? I want to have a function to erase a cat!