I have a problem that involves the use of a structure and pointers (not allowed to use arrays). I have to add a record using pointers and memory allocation and then eventually delete records. I do not know how to use memcpy to copy the structure itself to add to the program.
I have a structure:
struct childrensBook //Structure of books using pointers instead of arrays
{
char *title; //use of pointers to store...