I need to know how I can truely allocate memory.
I am writing a program that reads a text file, and stores every string in an array. However, the size of the file will be unknown.
I have tried using new and delete, I have even tried to pre-read the file just to count the strings as I go. I have a 0 sucess rate.
Is there anything I can do to catch this.