Learn C on the Mac

For OS X and iOS

2nd Edition

By David Mark , James Bucanek

Learn C on the Mac Cover Image

Don't know anything about programming? No problem! Acclaimed author Dave Mark starts out with the basics and takes you through a complete course in programming C using Apple's free Xcode tools for Mac and iPhone, using contemporary OS X and iOS, respectively.

Full Description

  • ISBN13: 978-1-4302-4533-9
  • 508 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: January 1, 2013
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $39.99
  • eBook Price: $27.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Considered a classic by an entire generation of Mac programmers, Dave Mark's Learn C on the Mac has 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 Edition is perfect for beginners learning to program. It includes contemporary OS X and iOS examples! This book also does the following:

<li>  Provides best practices for programming newbies 
<li>  Presents all the basics with a pragmatic, Mac OS X and iOS -flavored approach
<li>  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

<li> Master C programming, the gateway to programming your Mac, iPhone or iPad
<li> Write apps for the contemporary Mac OS X interface, the cleanest user interface around
<li> Write apps for the modern iOS interface, one of the two most popular mobile platforms in the world
<li> Understand variables and how to design your own data structures
<li> Work with the file system
<li> Connect to data sources and the Internet
<li> 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 Contents

Table of Contents

Chapter 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

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published