Forum: C++ Oct 25th, 2007 |
| Replies: 13 Views: 2,822 >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 Views: 4,516 >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,882 >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... |