|
-
November 3rd, 2010, 01:06 PM
#16
Re: Segmentation Error in program... Cant Figure out why
ptr points to the node you're going to remove. You know this isn't the first node by that point, so you need to make sure that the node before ptr links to the node after ptr. You are not doing that, although you clearly meant to; you just didn't write the statement correctly.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|