Hi -
Can anyone help me with struct. I've been asked to write a program to add and remove a list of records (ie. a database). Each record will contain a name, id, gpa, etc... The requirement for it -
1) Each record should be stored as a struct. 2) The database should be another struct, where one member is an array of records.
Can I do something like this:
struct record{
char name[maxLength]; //would this work???
int id;
double gpa;
........
};
Thanks in advance.