I need help with a homework assignment. I have a struct which contains some basic information about a student and their test grades. I need to have the user determine the number of structures to be defined. I know I need to use pointers, but I'm not sure how exactly to go about doing this.
I know how to use pointers to dynamically allocate an array, and have the user determine the amount of elements in the array. However, I keep running into errors when I try to use an array of structs.