Hey guys beginner here. Error is "left of '->next' '->ID' and '->name' must point to class/struct/union/generic type". Also Visual Studio is telling me 'expression must have a pointer type'. I only included my void function since I think the problem only is contained here.
I think the problem definitely is dealing with the declarations of the variables. I think I might not have declared the pointers correctly.