Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: Ptolemy
Forum: C++ Oct 25th, 2007
Replies: 13
Solved: xor linked list
Views: 2,816
Posted By Ptolemy
>Doing a linked list using XOR ... I'm not certain what you mean.
It's a hack to avoid wasting extra space on links. It takes advantage of the butterfly effect using XOR. If you take the XOR of two...
Forum: C++ Oct 25th, 2007
Replies: 12
Solved: fibonacci
Views: 4,511
Posted By Ptolemy
>so changing the array to static solved everything.
No, changing the array to static and actually using the values you've cached solved everything. If you don't to the latter, your code won't be any...
Forum: C++ Oct 19th, 2007
Replies: 14
Views: 2,881
Posted By Ptolemy
>As of now, the program only prints out :"Go again?".
It shouldn't print anything. That code won't compile because the braces are mismatched and functions don't nest inside of each other. This works...
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC