Structure and Linked List User Input Question

This is a discussion on Structure and Linked List User Input Question within the C Programming forums, part of the General Programming Boards category; Code: v4.nextaddr = &v5; v6.nextaddr = NULL; So what's v5.nextaddr pointing to? Quzah....

  1. #16
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Code:
    v4.nextaddr = &v5; 
    v6.nextaddr = NULL;
    So what's v5.nextaddr pointing to?


    Quzah.
    Hope is the first step on the road to disappointment.

  2. #17
    Fear the Reaper...
    Join Date
    Aug 2005
    Location
    Toronto, Ontario, Canada
    Posts
    625
    Quote Originally Posted by kevndale79
    This is my first try at getting the 6th value inputted. Compiles but crashes after the first 5 values are inputted and displayed.
    Is it ? Or does it just stop ? If it crashes, what error message do you get ?
    Teacher: "You connect with Internet Explorer, but what is your browser? You know, Yahoo, Webcrawler...?" It's great to see the educational system moving in the right direction

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Following CTools
    By EstateMatt in forum C Programming
    Replies: 5
    Last Post: 06-26-2008, 11:10 AM
  2. help! Placement of nodes in a Linked List
    By lostmyshadow in forum C Programming
    Replies: 6
    Last Post: 12-17-2007, 01:21 PM
  3. Problem with linked list ADT and incomplete structure
    By prawntoast in forum C Programming
    Replies: 1
    Last Post: 04-30-2005, 02:29 AM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 11:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21