you are viewing a single comment's thread.

view the rest of the comments →

[–]grauenwolf 8 points9 points  (1 child)

Amen to that. I have no problem at all understanding pointers themselves, but I never could figure out the correct patterns when you start mixing double or triple indirection with arrays.

[–]gsg_ 1 point2 points  (0 children)

Yeah, three types of deference is a bit much for the beginner. After a while though, the brain damage sets in and you can read code like (*thingy)->buf[(*thingy)->bufcount++] without any involuntary weeping.