seg-faulting w/linked list but dont know why

This is a discussion on seg-faulting w/linked list but dont know why within the C++ Programming forums, part of the General Programming Boards category; For some reason when doing anything with my linked lists I am getting a seg-fault. All of my linked list ...

seg-faulting w/linked list but dont know why

For some reason when doing anything with my linked lists I am getting a seg-fault. All of my linked list functions check to see if the head is NULL before adding or doing anything in the list to prevent seg-faults but for some reason that check in itself is causing the seg fault. Hopefully my code can clarify that...

that is where I am getting the seg-fault... and in any other function that uses if(some_head == NULL). in my last project I was having this same problem and it was because I had typed if(some_head = NULL). this time tho I have no idea what is wrong. My pointer is declared in laundry.h like this: