Assigning values to chars in structs - c
- by mrblippy
Hi,
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