I have a character array that I am using in a loop. The array is used to store names. I can't figure out how to clear it for the second and subsequent times when it loops. The problem is that the old names are still in the array and they are being processed again. Here is what I mean:
The array looks like this:
when I run the program I load 15 names into the array then process those names. I then loop again and load in 10 names, except the last 5 names from the previous pass are still there and get processed.
Is there a way to clear this array?
Thanks in advance!