LHS is an array, RHS is a pointer. You need to use strcpy to put the bytes with the pointer into the array.
strcpy(my_library.title, "Book Title");
Make sure that you do not copy the original data> 99 bytes here, since you needed a place for the line terminator ('\ 0').
The compiler tried to tell you what was wrong in the details:
error: incompatible types when assigning to type 'char [100] from type' char *
Look at your original code again and see if that makes sense now.
Steve townsend
source share