I'm working on a group project for school. When I tried to combine all the peices together I was no longer able to save data to files correctly. The program works by reading 4 txt files into structure controlled arrays, but when I add a new record to the file I get a blank entry in the indexed location of the last record that was read from the file, if there were 11 records the blank would appear as the 11th record in the file, if there were 15 records it would be the 15 record. The odd thing is when my group ran this section by itself, though with slightly different code it worked fine. I have posted all the code both from when it worked and from what I have now. Any help would be appreciated.
[code removed]
[code removed]
Comment