Posted by Dave Mark on Jul 9, 2009 in
Beginning iPhone Development,
Learn C
Long, long ago in a galaxy far, far away, I went to Carnegie Mellon University. I LOVE CMU and got a great education there. I am proud to say, Learn C and Beginning iPhone Development (which I co-authored with my good friend Jeff LaMarche) are now available at the CMU Bookstore. How cool is that?
Here’s the email I received with the link:
Hi Dave,
Here is a link to your books for sale on our website:
http://bookstore.web.cmu.edu/MerchList.aspx?txtSearch=mark%2c+dave&searchtype=Description
Please pass it along to anyone who may be interested in purchasing from us.
Thanks again,
Ali
Book Department Manager
Carnegie Mellon University Bookstore
I absolutely LOVE it!!! Thanks, Ali, for making my day…
– Dave
Tags: Beginning iPhone Development, Carnegie Mellon, CMU, Learn C on the Mac
Getting your book on the shelves of the Apple Corporate Store in Cupertino is sort of a Holy Grail for Mac dev writers. This pic was sent in by my buddy Scott:

That’s our iPhone book at the top, then my Learn C, and Scott and Mark Dalrymple’s excellent Learn Objective-C on the bottom. This pic means a lot to me. Cool!
– Dave
Tags: Beginning iPhone Development, Corporate Apple Store, Learn C, Learn Objective-C
Posted by Dave Mark on Mar 4, 2009 in
Apple,
Books,
Learn C,
Personal
My buddy Jeff was at the Apple Store on Apple’s campus in Cupertino and he snapped this picture with his iPhone. Thanks, Jeff. Very cool!
– Dave

Tags: Apple Store, Cupertino, Learn C
I just received a comment from a reader about copying and pasting code from external sources, such as Pages or Word. Editing apps like Word and Pages can automatically modify your text, based on specific auto-format settings. For example, turning on smart-quotes changes this line of code:
printf (”Hello, world!” );
to this line:
printf ( “Hello, world! ” );
If you squint your eyes just so, you’ll see that the first line of code has standard straight quotes, and the second line replaces those quotes with curly quotes. The curly quotes are not legal ASCII characters and will cause the C/ObjC compiler to complain, sometimes incoherently.
If you find yourself with a line of code that you absolutely KNOW is legal code but just won’t compile, consider retyping the line in question.
A tip of the blogger cap to Colin Anderson. Thanks, Colin!
Tags: Beginning iPhone Development, errors, Learn C, Learn Objective-C, programming, tutorial