CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Sinlak

Search: Search took 0.02 seconds.

  1. Replies
    10
    Views
    7,562

    Re: Swap adjacent nodes in doubly linked list?

    I solved it, the problem was the head was getting adjusted incorrectly during the swap, if anyones intrested here is some working code on swapping nodes in a doubly linked list

    The isSorted just...
  2. Replies
    10
    Views
    7,562

    Re: Swap adjacent nodes in doubly linked list?

    Ive been drawing all day, still Im at a loss. Everytime I recode it I feel like "This time it will work for sure!' then I hit F5 and my dreams are crushed!
  3. Replies
    10
    Views
    7,562

    Re: Swap adjacent nodes in doubly linked list?

    The problem is that the payload may be HUGE so it would be better to swap the pointers around, thats why I have to solve it this way
  4. Replies
    10
    Views
    7,562

    Swap adjacent nodes in doubly linked list?

    I have been trying to swap two adjacent nodes for my linked list sort. Its not meant to be optimal, just meant to work. My problem is I either lose nodes or get Access Violation errors, Can anyone...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured