Amazon.com Widgets Exercise 1
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 19, 2013, 06:52:09 PM
Home Help Search chat Login Register   
News: Read this please.The Great Kangaroo Escape Looking for reviews of the 4th ed on Amazon!   Twitter:  @skochan
                     

+  Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
|-+  Old Stuff
| |-+  Answers to Exercises
| | |-+  Chapter 4
| | | |-+  Exercise 1
Pages: [1]   Go Down
Print
Author Topic: Exercise 1  (Read 422 times)
roryc
Newbie
*
Posts: 2






« on: August 11, 2011, 09:16:26 AM »

After finishing Chapter 4 with no issues, Exercise 1 came as a bit of a surprise. It seems to assume an understanding of octal and hexadecimal notation, which as a programming newbie, I don't have.

Before I continue with the book, should I read up on these areas? And as an extension, could anybody outline their uses in programming (other than for hex colour codes, which I'm familiar with).

Thanks!
Logged
bpedit
Jr. Member
**
Posts: 65


Email




« Reply #1 on: August 11, 2011, 09:54:00 AM »

The hex and octal are introduced in ch 4, it seems, just for the sake of completeness when introducing the data type chars. I'm currently in chapter 16 and haven't used these in any code since ch 4.

On the other hand it would be a good idea to, independently of your progress through the text, gain a familiarity with hex notation. This is how memory addresses appear and can be useful if you use some of Xcode's debugging features.

I know too little so far to know the importance or use of octal in Obj-C.
Logged
roryc
Newbie
*
Posts: 2






« Reply #2 on: August 11, 2011, 12:10:42 PM »

The fact they were included 'just for the sake of completeness' is why the exercise dependent on a knowledge of them seems out of place. Regardless, thanks for the reply! I'll certainly spend some time learning about hex notation.
Logged
Pages: [1]   Go Up
Print
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents (c) 2009 classroomM.com. All rights reserved.