Oops, yes you do need to free that memory. Thanks Adak.
Type: Posts; User: AndrewHunter
Oops, yes you do need to free that memory. Thanks Adak.
Sure, you need to do something along the lines of:
1. Open the file
2. Check if file opened successfully
3. while not EOF
4. reallocate space in array
5. read line into array
6. repeat
7....