Thread: Array of Linked Lists: Status Access Violation!!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    5
    But it happens when i call the search function as well, which only has a local structure. From what i can gather the address of something is being accessed simultaneously, but i can't see it. Can you see it or walk me through where i went wrong?

  2. #2
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    Also in your buildNode() function, you might want to make a copy of string.
    Btw, Are you ignoring your compiler warning?

  3. #3
    Registered User
    Join Date
    Aug 2010
    Posts
    5
    There is no compiler warning. In fact it compiles fine, it's only in runtime that it gives me the Status Access Violation error. I've been messing around with linked lists all weekend and i've had no problems. It's only when i try to make an array of structures where each element points to a linked list where i run into issues.

    Anyways on my machine there is no compiler warning or error. I'm using Eclipse Helios on Windows 7 Ultimate 64.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 08-01-2007, 06:17 AM
  2. Map file formats and linked lists
    By Spitball in forum Game Programming
    Replies: 2
    Last Post: 03-04-2004, 11:32 PM
  3. Struct *** initialization
    By Saravanan in forum C Programming
    Replies: 20
    Last Post: 10-09-2003, 12:04 PM
  4. Array, Linked List, or Binary Tree?
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 01-05-2002, 10:07 PM
  5. 2d Array access by other classes
    By deaths_seraphim in forum C++ Programming
    Replies: 1
    Last Post: 10-02-2001, 08:05 AM

Tags for this Thread