I have been having trouble getting my head around allowing a user to enter words into structs.
The struct
I am using is below
struct class
{
char class_num[4];
char *class_name;
}
If anyone could point me how to do this or at least point me in the right direction that wuld be great. thanks