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.Quote:
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.
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?