Pointers, a real explanation
Ok,
let me start by saying I get it.. a variable that points to the address of a value another variable holds.
the real down fall in all texts and tutorials I've read is where you would actually apply this idea. I understand how you get aPtr to dereference int a....
it just doesnt make sense WHY you would do it. I have done a hundred (well maybe literally 20) that show how things point to each other, defreference, and alter the original a value.
but WHY damn it. what is a real world example. I wrote a rant thread about hating myVariable conventions. and this is why. it doesnt tell you anything. just like every thing describing pointers.
I learn all my stuff by relating it to something. but nothing tells you how and why it relates to an actual situation you would program with pointer.
} /* end of another rant */