which i plan to store a lot of numbers from text files and the program always crashes.Code:float found; // Stores found.txt float actual; // Stores actual.txt float mov; // Stores moving.txt int mapCount; // Stores mapCount.txt
I've narrowed it down the the large declaration because program works fine with smaller arrays.
I would have thought the computer would have enough memory to be able to do this? Can anyone shed any light on why this can't be done or some alternatives? (I'm already thinking I'm going to have to read data in iteratively but it would be nice to have it all there all at once.