Discussion:
Prjoct 1's urgent notice
(too old to reply)
seven
2005-10-03 02:26:05 UTC
Permalink
wtf? What is warren trying to say with his most recent urgent notice? I
can't quite figure out what he wants me to replace in removeZero(). Anyone
know?

- Francine
Clayton Krueger
2005-10-03 02:59:12 UTC
Permalink
change this:
for ( i = 1 ; treeData[0].compareTo(treeData[i]) == 0 ; i++ )
place(i - 1, treeData[i]);
to this:
place(0, treeData[1]);
for ( i = 2 ; treeData[0].compareTo(treeData[i]) == 0 ; i++ )
place(i - 1, treeData[i]);
hope that helps
clayton
Post by seven
wtf? What is warren trying to say with his most recent urgent notice? I
can't quite figure out what he wants me to replace in removeZero().
Anyone know?
- Francine
Son Le
2005-10-02 22:05:00 UTC
Permalink
I got a "Array Index Out of bound" without this change.
Post by Clayton Krueger
for ( i = 1 ; treeData[0].compareTo(treeData[i]) == 0 ; i++ )
place(i - 1, treeData[i]);
place(0, treeData[1]);
for ( i = 2 ; treeData[0].compareTo(treeData[i]) == 0 ; i++ )
place(i - 1, treeData[i]);
hope that helps
clayton
Post by seven
wtf? What is warren trying to say with his most recent urgent notice? I
can't quite figure out what he wants me to replace in removeZero().
Anyone know?
- Francine
Clayton Krueger
2005-10-03 03:33:33 UTC
Permalink
yeah, same here, so i didn't change the crap
Post by Son Le
I got a "Array Index Out of bound" without this change.
Post by Clayton Krueger
for ( i = 1 ; treeData[0].compareTo(treeData[i]) == 0 ; i++ )
place(i - 1, treeData[i]);
place(0, treeData[1]);
for ( i = 2 ; treeData[0].compareTo(treeData[i]) == 0 ; i++ )
place(i - 1, treeData[i]);
hope that helps
clayton
Post by seven
wtf? What is warren trying to say with his most recent urgent notice? I
can't quite figure out what he wants me to replace in removeZero().
Anyone know?
- Francine
seven
2005-10-03 03:28:34 UTC
Permalink
Thanks a bunch =-)
Loading...