Problem writing data to a file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kasghost
    New Member
    • Feb 2007
    • 15

    Problem writing data to a file

    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]
    Last edited by tlhintoq; Jun 6 '09, 10:15 PM. Reason: Does not conform to posting guidelines
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Please see the posting guidelines regarding school assignments

    Comment

    Working...