0

If program crash with a file is open and not close ?

Hello, If program crash with a file is open and not close ? The file will be empty ?

21st Jun 2020, 8:42 PM
Alain Mazy
Alain Mazy - avatar
3 Answers
+ 6
Alain Mazy please show us your code so we can exam the issue ... Thanks and happy coding
21st Jun 2020, 8:50 PM
BroFar
BroFar - avatar
+ 4
⚡🌀 SpookyGuy🌀⚡ Two issues: if his file path is not correctly formatted may cause it to crash... the format code, itself, to open to execute may also be closing / crashing due to errors.
21st Jun 2020, 9:21 PM
BroFar
BroFar - avatar
0
Ho sorry, my program does not spit, I was just asking the question, If my program crashes while my file is not closed, would I lose what has already been written in it.
18th Jul 2020, 12:55 PM
Alain Mazy
Alain Mazy - avatar