Design Element
Comment on "Intro to C Pointers and Dynamic Memory"
by Michael Dreher — May 06

I just read this interesting tutorial, coming from cocoadev's intro to C. I already knew basically all the concepts, but I have never seen a better introduction to pointers than yours. Thumbs up!

One mistake I recognized in your tutorial is the following:

Notice how each time we do currentString++, the address increases by four bytes:

500120 > 500120 > 500124...

which does not really increase by four bytes each time.

I really like your way of presenting, like pointers here, or the great introduction to classes and objects in the cocoadev tutorials. And I hope you are using this talent as a professional instructor or teacher. If not, you should strongly consider it.

Back to "Intro to C Pointers and Dynamic Memory"
Design Element

Copyright © Scott Stevenson 2004-2015