Hi, I'm trying to make a puzzle game in Dev-C++, and one of the solutions is manually renaming a text file to 'cascatallus.txt' then telling the program to read it. It is reading the file and is getting to the next level, but I wanted it to delete 'cascatallus.txt', so I added a remove() function, which has worked before in the same program, but it isn't deleting this file for some reason. I'd like to know what I can do to get it to work.
I'm sending the source code for this level and also for the level where the remove() function worked.