View Single Post
Old May 24th, 2006, 9:41 PM   #2
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 824
Rep Power: 4 The Dark is on a distinguished road
You might want to let us know what the error is, we are not all mind-readers.

One thing that will cause a problem is this line near the top of create
        head->next=p1;
You have assigned the value of NULL to head and are then trying to dereference it, this will probably cause your program to shut down.

Note: I didn't look any further, there may be more problems, you need to give more information.
The Dark is offline   Reply With Quote