I have a program here that compiles and runs fine and outputs pretty much as i expect, apart from a couple of adjustments to stop some repeat output, anyway i was looking into sorting this out and have found that when i step through in the debugger i get a seg fault crash? why would that happen if it runs ok in normal mode?? or is that the point?