Unfortunately, the last time I used pointers was about 2 years ago in my intro to C++ class. I am now finding out in my new class, we are going to be using pointers in more and more frequency. Could someone give me a good website or perhaps some code examples and/or simple assignments to learning/practicing pointer usage?
(Right now, I'll be frantically looking through my old C++ book to look at some pointer examples!)
EDIT: Ok, I was wrong. Re-learning pointers was not that hard at all. Now I just need to work on efficiently simulating a stack with pointers. I have discovered that a statement such as "p1 = new int;" also stores the new variable at a new memory location located 10 bytes (I think!?) after the previous memory location. Is the previous location still holding the data? And if so, how do I access it? I tried just "delete p1;" but the new value of p1 was just random numbers at the same memory location... any ideas?