How can I read multiple lines from a text file (variable width) and store all of them in a C “string”?
EDIT: I guess I’ll be fget’ing the strings and storing them in one flexible buffer (via realloc) 🙂 Also, this is not homework even though it apparently seems so (programming is just a hobby for me). I was just asking out of curiosity
Here’s the general process