typedef struct item { char *text; int count; struct item *next; };
So I have this struct with nodes defined as above, but Im getting the er
I'm not sure, but try like that :
typedef struct item { char *text; int count; struct item *next; }item;