Hey,
for some reason this code
{
int year;
int n_tracks;
char *category;
category = (char *) malloc (sizeof(char) * 50);
};
throws me this error:
"expected specifier-qualifier-list before category" and cant understand why it does it.
i've tried looking online but most of the issue was'nt related to dynamic memory.