Search:

Type: Posts; User: NM Greg

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,270

    Aaaah, OK. That helps. In the future, I will...

    Aaaah, OK. That helps.

    In the future, I will tidy up my code. Not a problem.

    Thanks for the help Adrian!
  2. Replies
    2
    Views
    2,270

    Jumping into C++ Recursion Example Question

    Will someone please explain the second half of this code sequence: 123456789987654321

    I understand the first half (123456789...) but at num=9, it kicks out of the If condition, cout's one last...
  3. Replies
    5
    Views
    2,817

    Wow, thanks Whiteflags. I'm way past school...

    Wow, thanks Whiteflags.

    I'm way past school (retired Eng) and learning C++ on my own thru the Jumping into C++ book. Having a very hard time with linked lists, so I found this example from the...
  4. Replies
    5
    Views
    2,817

    Hey, it compiled for me.

    Hey, it compiled for me.
  5. Replies
    5
    Views
    2,817

    Don't Understand Linked List COUT

    why is my cout as follows:

    test
    1
    test
    2
    3

    why did it not output test after 2
  6. Thank You! Line 50 needs to be there so it...

    Thank You!

    Line 50 needs to be there so it COUT's the last element (42). The last element has next = 0 and the while loop goes until next != 0.

    I think linked lists is finally starting to...
  7. Don't Understand Outputting Linked Lists Elements

    I'm currently studying Jumping into C++.

    I understand the concept of Linked Lists, but using linked lists has me stumped.

    In the below code (from linked list tutorial), I have "conductor =...
Results 1 to 7 of 7