Removal of txt files in C++

Asked

Viewed 40 times

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 ?

  • 3

    Where is the program ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.