Removal of txt files in C ++

0

I made a mergesort ordering program for a giant txt that can not exceed that user-defined primary memory limit, so I had to split 1 txt into several other temporary ones, the problem is, depending on how much memory the user program may create some or several temporary files called "TempX.txt!" where X is the temporary file number. The remove function ("Temp.txt") removes only if the txt file has exactly the msm name, how would I do the loop to remove the temporary txt from 1 to the txt numbers?

    
asked by anonymous 14.05.2018 / 02:58

0 answers