This is a discussion on Doubly Linked List Node within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by DarkDot this is the whole code that i have. i meant just mingw in general working to ...
there is no possible way you could just tell me if u see something wrong? i mean its just a review question i don't want to go through all that trobule when on the test i'm not going to be able to test it.
You showed part of a header. No code. What kind of help do you want?
all i need is to create the header. is that not the whole header?
So far what is wrong are just typographical errors. If the intention of this review question is to see if you can spot them, then clearly you have not, and need more practice. Asking us to help you spot them is a waste of our time, since it would just be feeding you the answers.there is no possible way you could just tell me if u see something wrong?
ok and again it all looks right to you? its not typographical errors, it actual coding syntax stuff. i saw that stuff and its stupid and i should have corrected it for being totally syntactically correct.
Last edited by DarkDot; 04-16-2007 at 12:54 AM.
Problems without solutions are easier than solutions without problems.
what do u mean for what?
haha sure if u give me a straight answer
You have presented no source code to compile. So without a question, what are we supposed to answer?
source code...now i'm going to sound stupid...are u referring to the implementation file, in this case it would be the DLListNode.template? because the problem just said to create a header file and i didn't think that file was part of the header. otherwise if the header looks ok then i'm good to go.
Didn't I say that already?
But whether it's correct or not in part depends on the implementation.
Why does the set function need to know about prev and next?
Why does the retrieve function not return anything or take a modifiable argument?