Read chapter 8 again and then chapter 9. Before this point, I pretty much knew everything that was being taught, which is a good thing, as Kochan covered much ground with classic "C" programing.
Then chapter 8 comes along and I am back into pointers, a subject which I found challenging in the Kochan book and challenging here. However, I have to give kudos to Hillegass as he covers the basic concepts of pointers very well. I was a bit floored (and happy) to learn in chapter 9 that you can pass address variable references to a function, use pointers as arguments to these addresses, and then set the variables in a function without worrying about returning values. I guess a global or static variable would also have sufficed, but this seems a bit cleaner and involves less clutter (albeit more challenging).
Chapters 10 and 11 are short chapters on structs and the heap. Then it is off to part two of the book, which is Objective-C development.
Also note, I have been reading the section in the Just Java book (from 1998) as a prerequisite to the OOP textbook that I hope to read.
No comments:
Post a Comment