But I also have to be able to set a pointer equal to a node in the middle of the list. That way I can traverse backwards through the list in a tree fashion. Thanks!!
Because the program is doing a breadth-first search and depth-first search and will take up so much memory, a vector will crash. I actually had a vector implemented, but then switched to a list. The only problem is being able to go straight to a point in a list without iterating from the beginning. I wish I could use a vector, but space/memory becomes an issue. Thanks!!
Ok, that helps. However, just found the actual error, turns out it was a memory/space issue. It was stupidity on my part. But at least I found the error. Thanks for your help Zaita and sorry that you had to try and figure out my stupidity. Thanks!!!