SyntaxFix
Write A Post
Hire A Developer
Questions
Run your program with valgrind of linked to efence. That will tell you where the pointer is being dereferenced and most likely fix your problem if you fix all the errors they tell you about.