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?
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?
Also in your buildNode() function, you might want to make a copy of string.
Btw, Are you ignoring your compiler warning?
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.