I cannot say that switching to the standard library will necessarily resolve the problem. However, using the standard library would rule out many bugs that would hide in a typical beginner's hand rolled linked list implementation.
I have carefully stepped through the code in a separate solution and checked all the addresses and I am confident that the LL is bullet proof!!! The std::vector (as you know) uses dynamically allocated arrays that it 'grows' periodically. Do you really think the performance would be better (travering the array) than my LL. Besides I can code all the functions that the vector has anyway.
This is incorrect. Using static_cast<> with a pointer type will not call any constructors for the pointed at type.
Oops... yeah I just checked. Sorry for agreeing with previous poster (hehe)
Ok here is the entire class to check to see why the texture is not being displayed:
CLinkedList.h: http://www.filehosting.org/file/details/414390/CLinkedList.h
ClinkedList.cpp: http://www.filehosting.org/file/details/414396/CLinkedList.cpp
CNode.h: http://www.filehosting.org/file/details/414392/CNode.h
CNode.cpp: http://www.filehosting.org/file/details/414393/CNode.cpp
(ahh for the good of the community)
Hope this helps to find the problem






