7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
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?
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
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?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
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-15-2007 at 11:54 PM.
For what?
[edit]Problems without solutions are easier than solutions without problems.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
what do u mean for what?
true....
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
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?
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
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?
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*