There's probably something wrong with an array or something like that, please post your code.
Nick Evan
Not a Llama
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
A seg fault typically refers to when you start touching memory you shouldn't be. As Niek mentioned, this often occurs when an invalid index into an array. It also happens when using uninitialized pointers, or pointers which have already had their data deleted or freed.
Infarction
Posting Virtuoso
1,580 posts since May 2006
Reputation Points: 683
Solved Threads: 53