271
Originally Posted by TopGear,Mar 2 2010, 08:57 PM
After half an hour of angrily debugging a C++ class, I think I found my problem. Several layers up, I was testing other things, and they won't working, even though the code seemed perfect. I finally worked down to the most basic functions, and found this: (error in bold)
Node * LinkedList::getTail(){
return head;
}
I must've copypasta'd this from the getHead() function hours ago, and not realized it.
Node * LinkedList::getTail(){
return head;
}
I must've copypasta'd this from the getHead() function hours ago, and not realized it.

Originally Posted by Gigdy,Mar 3 2010, 08:36 AM
You got whacked in the head on sat.











