EDIT
project is over. thank you everyone for your help.
**************************************** *************
Hey everyone
I'm working on my last program for C and I'm about to have a break down. Any help at all would be appreciated. The entire code can be found at the bottom of this page. We have to write 3 functions dealing w/ linked lists. The first is a Reverse, then a RemoveDuplicates, and a ShuffleMerge. I got the Reverse to work.
clientData *Reverse(clientData *startPtr)
{
clientData *newListHeadPtr = NULL;
while (startPtr)
{
clientData *temp = startPtr->nextPtr;
startPtr->nextPtr = newListHeadPtr;
newListHeadPtr = startPtr;
startPtr = temp;
}
return(newListHeadPtr);
}
I'm almost ready to give up all together on the rest of it. Almost ready to pay the first person who wants to do the whole thing.
gaaahhhh
nicole
project is over. thank you everyone for your help.
****************************************
Hey everyone
I'm working on my last program for C and I'm about to have a break down. Any help at all would be appreciated. The entire code can be found at the bottom of this page. We have to write 3 functions dealing w/ linked lists. The first is a Reverse, then a RemoveDuplicates, and a ShuffleMerge. I got the Reverse to work.
clientData *Reverse(clientData *startPtr)
{
clientData *newListHeadPtr = NULL;
while (startPtr)
{
clientData *temp = startPtr->nextPtr;
startPtr->nextPtr = newListHeadPtr;
newListHeadPtr = startPtr;
startPtr = temp;
}
return(newListHeadPtr);
}
I'm almost ready to give up all together on the rest of it. Almost ready to pay the first person who wants to do the whole thing.
gaaahhhh
nicole
