Im making a database program, and I think I can use an array for it.
Rather than list the whole specification, ill just use the adding a record function as an example.
I need to add a record, where each record consits of :
How do I create a suitable array (?) for storing an undefined amount of records?Code:typedef struct {
char surname[21], /* student surname */
char firstname[21], /* buffer to receive message */
char studentID[7], /* student identifier */
int studentAge /* age of student in years */
} STUDENT_RECORD;