Bot file_str_read and str_cpy work with STRING. I doubt they work with character arrays. The use of file_str_read can be done by first reading the string to STRING and then copying your strings char members to your struct. Concerning str_cpy you can use strcpy instead. Remember that bot parameters in strcpy have to be char*.


Always learn from history, to be sure you make the same mistakes again...