I see =) Thanks for all the input.
I've been reading about pointers, and there's something that has been bothering me and driving me nuts. What exactly does a pointer point to? To the address in the memory block, or to the value inside the address in the memory block? And I am totally lost when it comes to managing the dynamic memory space. I've been reading online and I start off fine, but when I get to where it explains what it points to, I get really lost. Anything I can do to make me understand what exactly is going on? I tried editing a sample code and fiddling with it to check what it does but I still can't figure it out...
And what's teh difference between these?
Code:
my_pointer = &my_int;
*my_pointer = &my_int; Error!!
*my_pointer = my_int;
I have a feeling that the last one is totally erroneous...