Considered a classic by an entire generation of Mac programmers,Dave Mark's Learn C on the Machas been updated for you to include Mac OS X Mountain Lion and the latest iOS considerations.
Learn C on the Mac: For OS X and iOS, Second Editionis perfect for beginners learning to program. It includes contemporary OS X and iOSexamples! This book also does the following: Provides best practices for programming newbies Presents all the basics with a pragmatic, Mac OS X and iOS -flavored approach Includes updated source code which is fully compatible with latest Xcode
After reading this book, you'll be ready to program and build apps using the C language and Objective-C will become much easier for you to learn when you're ready to pick that up.
What you’ll learn Master C programming, the gateway to programming your Mac, iPhone or iPad Write apps for the contemporary Mac OS X interface, the cleanest user interface around Write apps for the modern iOS interface, one of the two most popular mobile platforms in the world Understand variables and how to design your own data structures Work with the file system Connect to data sources and the Internet How to handle error handling and much more
Who this book is for
For anyone wanting to learn to program in Mac OS X and iOS, including developers new to the Mac and iPhone/iPad, developers new to C, or students entirely new to programming.
Table of ContentsChapter 1:Go Get the Tools
Chapter 2. Programming Basics
Chapter 3: C Basics: Staements and Functions
Chapter 4: C Basics: Variables and Operators
Chapter 5: Debugging
Chapter 6: Controlling Your Program's Flow
Chapter 7: Pointers and Parameters
Chapter 8:More Data Types
Chapter 9: The Command Line
Chapter 10: Designing Your Own Data Structures
Chapter 11: Working with Files
Chapter 12: Handling Errors
Chapter 13: Advanced Topics
Chapter 14: Where Do You Go from Here?
Chapter 15: Answers to Exercises