Forum: C++ Sep 19th, 2009 |
| Replies: 20 Views: 717 yeah, you could do it that way but it is highly inefficient. there is one way that you can do this using 2 for loops and a simple if/else statement. however codeguru_2009 has an even more efficient... |
Forum: C++ Sep 18th, 2009 |
| Replies: 20 Views: 717 It would probably be easier to generate a small 'V' by hand and figure out what coordinates that the '#' lands on. Then you can decipher the pattern and come up with what you would need to be put... |
Forum: C++ Mar 26th, 2009 |
| Replies: 9 Views: 425 This should take care of it for you as long as you have a head pointer which I'm assuming you do otherwise how would you access your list?
~CList() {
// Create a tmp node
CNode node;... |