Hi, I have this problem of file pointer not updating file, it just keep on writing the old file. For example, I punched in a couple of datas and hit the save file function(writes to a file recording the data), but when I keyed in the new datas and want to save again, the saved content is still the old one not the newly created data.
I have tried this fptr=fopen("data","w+"), it still does not update the new values into the file. Can anyone please help?