if I needed to run a program 4 times and wanted to store each of the values I got through previous runs of the program to arrays, would I need to make 4 different arrays or is there another way of doing this more efficiently?
Printable View
if I needed to run a program 4 times and wanted to store each of the values I got through previous runs of the program to arrays, would I need to make 4 different arrays or is there another way of doing this more efficiently?
To have 4 copies of the data will require 4 separate storage places (arrays or disk files). If the data is too large to keep in memory, you might need to write it to a file.