How do I close a file and remove it?
I have the following code:
FILE *filePtr = fopen(\"fileName\", \"w\"); ...
Now I want to close
It makes more sense to fclose and then unlink.
fclose