Okay so I can't post all the code for this but I would like to describe a problem that I am having and see if anyone has any ideas what the cause could be. I have a program which has a large loop in which it creates fills in integer strings in structures. I then take the last value from each of these strings and place it into an array because I have to overwrite the old strings but need the last value of the string later. in the end this results in an array of size [32][1000] because it has saved in it the terminal results of 32 different strings from 1000 runs of the loop. The values are set into the array correctly which I have verified. Later, after having never having done anything to the array since I put in the values I print the values from it to a file. The results are almost all correct except for one strange problem. For the first row of the array ([0][0] to [0][999]) I get about 10 correct values, then about 70 values which are all 0 (I checked that when the values were first put into the array the were NOT 0's), then about 20 more correct numbers, then another 70 or so 0's, and then correct numbers until the end of the row. All other rows of the array are completely correct. Can anyone think of a possible cause for this strange pattern?