Me too. I just edited the post to "disable smilies".
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Can't you just try to put out the contents of your array right before the deletion? And If you get just garbage when move back that output in the execution path until you identified the place that corrupts you memory or pointers.
Ah, ok. Gdb, the debugger I'm using most of the time, doesn't seem to do that. That exactly is the sense of "returning control" in the moment the process is terminated by the OS?