I want to load a file into a char** array. I am trying to make it so that it can load a file with any sized lines and legnth. I am not sure how to begin. If I use fgets I have to specify a size. Is there another function I can use?
Also if I create a double dimensioned array using malloc and want to make it larger, is there a way to add more memory onto this array without deleting the contents?
Thanks
- Sean