i have a console apllication that uses fopen() it opens a txt file for
reading and writing . Now if i close the application before its completely finished the txt file hasnt been closed because i do fclose() completely at the end (what is necessary because it reads data so the program can run).
Now what happens if i close the application before fclose() then the txt file is still in use according to my comp is there a way to fclose() when the application is aborted before the end of the whole application?
i know this question mayb confusing in some way ....