Linked list question modfiying element contents
I'm having trouble modifying the contents of a linked list element. Regular variables such as double, int, char are no problem:
temp->whateverthevariableisinthestruct = newvalue;
But i'm having problems with a char array that makes a customer name.
temp->customerName = customerName;
customerName;
is the new value (array) that i want to set and customerName is the variable in the struct.
It doesn't seem to compile
201 operands of = have illegal types 'array 30 of char' and 'pointer to char'