I was trying to create a quick little particle effects system that I was going to build up slowly over time. I ran into a snag with my linked list when the particles life ends. I'll explain basically what's happening, every update a clock is checked to see if it is time to spawn a new particle, these particles are given a life which is also timed against the clock. When the individual particle has reached the end of it's life it returns a 0 which indicates to the particle system it is ready to be removed from the list. It is upon removing the particle from the list and the current position in the linked list moving on to the next position that the program crashes. I've not worked with linked lists for a good couple of months so I'm not sure how to tackle the problem. I assumed that it was because I wasn't moving onto the next position in the list before trying to remove the particle from the list but I've tried nearly every way around this and no luck.