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

Search:

Type: Posts; User: Blogman

Search: Search took 0.03 seconds.

  1. Re: Selection sort by switching pointers on a linked list = infinite loop?

    Nevermind, I solved it.
  2. Re: Selection sort by switching pointers on a linked list = infinite loop?

    My bad.
    I've used gdb and printf statements to figure out what's going on and it seems to be getting stuck in the the while (j->next != NodeNULL) loop after the first run-through. I think it's...
  3. Selection sort by switching pointers on a linked list = infinite loop?

    Please help!
    The following code is supposed to sort the nodes by switching the pointers
    instead of data, but all I get is an infinite loop when I run it.


    #include <stdio.h>
    #include...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured