title: How Android C++ fopen fwrite and fclose works?
body: <p>Im developing a game for android but I noticed one bug that I cant solve:</p>
  
  <p>I save the game progress to a file "X" the file size is 288 bytes and the last modification date after close the file is Z, after that, I remove the battery and I put it again, the first thing that I do is to read the file and I noticed that the file size now is 0 bytes and the last modification date is previous to Z =s.</p>
  
  <p>I really don't know who is changing my file.</p>