I am stuck on this problem and I am not sure what the solution
is. In C
Write item.h and item.c.
In item.h, typedef a struct (of type t_item) which contains the
following information: t_item: char name[MAX_ITEM_NAME_STRING];
char description[MAX_ITEM_DESCRIPTION_STRING];
Make sure that MAX_ITEM_NAME_STRING and
MAX_ITEM_DESCRIPTION_STRING are defined with suitable sizes in your
item.h.
Typical values are, 25 and 80, respectively. Add the following
interface definition to item.h: int item_load_items(t_item items[],
int max_items, char *filename);
Returns the number of objects loaded...