0
I made a mergesort sorting program for a giant txt that cannot exceed such a user-defined primary memory limit, and so I had to split 1 txt into several other temps, the problem is, depending on how much memory the user wants to use, the program can create some or several temporary acquisitions called "Tempx.txt!" where X is the temporary file number. The remove("Temp.txt") function removes only if the txt file has exactly the msm name, as I would loop to remove the temporary txt from 1 to txt numbers?
But you know the exact number of how many to remove ?
– Isac
Where is the program ?
– Lacobus