Monday, January 25, 2010

Pointers

Last week, unfortunately our first class was canceled. Fardad was sick, which thus meant that we didn't have any quiz or lessons. Bit of a downer, to be honest.

Pointers were mainly covered. It was a bit confusing, as is always. I had always thought of pointers as a number which points to a location in memory, instead of it actually just being an unsigned integer.

Still, it's quite interesting to see how they work. Especially in the ability to move forward in memory by the size of the target.

Of course, this is not the first time I've used pointers. But they certainly are clearer now than they were before.

No comments: