I've been asked to create a "file" system if you will that needs to incorporate nested structs. I have a problem passing my structs to my functions.
EX:
struct Disc
{
char arrayofalbums[30];
int numberofalbums;
int totalplayingtime;
} disc[10];
then later on I pass it into a function
file_function(disc);
I get an error saying how my var (disc) cannot be converted from a structure to char. Am I doing something wrong? I'm not trying to pass in the individual fields as arguments but the whole structure.