Learn C on the Mac [NOOK Book]

Overview

Considered a classic by an entire generation of Mac programmers, this popular guide has been updated for Mac OS X. 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. This book is perfect for beginners learning to program. It includes ...

See more details below
Learn C on the Mac

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$17.99
BN.com price
(Save 43%)$31.99 List Price

Overview

Considered a classic by an entire generation of Mac programmers, this popular guide has been updated for Mac OS X. 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. This book is perfect for beginners learning to program. It includes Mac OS X examples!



  • Provides best practices for programming newbies

  • Written by the expert on C–programming for the Mac

  • Presents all the basics with a pragmatic, Mac OS X-flavored approach

  • Includes updated source code which is fully compatible with Xcode 4


What you’ll learn

  • Master C programming, the gateway to programming your Mac or iPhone

  • Write applications for the Mac OS X interface, the cleanest user interface around

  • Understand variables and how to design your own data structures

  • Work with the file system

  • Connect to data sources and the Internet


Who this book is for


For anyone wanting to learn to program in Mac OS X, including developers new to the Mac, developers new to C, or students entirely new to programming. For anyone who wants to learn how to program their iPhone, this is also the core language primer.


Read More Show Less

Product Details

  • ISBN-13: 9781430218104
  • Publisher: Apress
  • Publication date: 12/11/2008
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 376
  • Sales rank: 668,371
  • File size: 3 MB

Meet the Author

Dave Mark is a longtime Mac developer and author who has written a number of books on Mac and iOS development, including Beginning iPhone�4 Development (Apress, 2010), More iPhone 3 Development (Apress, 2010), Learn C on the Mac (Apress, 2008), The Macintosh Programming Primer series (Addison-Wesley, 1992), and Ultimate Mac Programming (Wiley, 1995).�Dave loves the water and spends as much time as possible on it, in it, or near it. He lives with his wife and three children in Virginia.
Read More Show Less

Table of Contents

Ch. 1 Welcome Aboard 1

Ch. 2 Go Get the Tools! 5

Ch. 3 Programming Basics 17

Ch. 4 C Basics: Functions 25

Ch. 5 C Basics: Variables and Operators 49

Ch. 6 ControllingYour Program's Flow 85

Ch. 7 Pointers and Parameters 121

Ch. 8 Variable Data Types 161

Ch. 9 Designing Your Own Data Structures 207

Ch. 10 Working with Files 249

Ch. 11 Advanced Topics 283

Ch. 12 Where Do You Go from Here? 317

App Answers to Exercises 323

Index 337

Read More Show Less

Customer Reviews

Average Rating 4
( 6 )
Rating Distribution

5 Star

(4)

4 Star

(0)

3 Star

(1)

2 Star

(0)

1 Star

(1)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 6 Customer Reviews
  • Posted January 21, 2009

    Good intro to C and programming in general

    Target Audience: The book identifies the target audience as beginners. Specifically mentioning 5th graders, soccer moms, hobbyists, and others who may have no previous experience with programming (or possibly even computers). This fits in with the book's sub-title "A Complete Course in C Programming for the Beginner". <BR/><BR/>The author faithfully sticks to this intended audience, so you find things such as "Notes" to explain that "OS stands for operating system", and half a page (complete with Xcode screenshot) dedicated to things like step-by-step instructions of "Saving Your New Project". <BR/><BR/>If you are within the target audience, you will likely find these explanations very valuable. Generally I found that little previous knowledge was assumed, and thus terms and concepts that may be confusing to a beginner in other books were well explained. <BR/><BR/>I gave this book 5 stars because it very effectively conveys the information from simple to more complex concepts in a manner that could be understood by it's intended audience. The enthusiasm that I noticed in the first few pages is carried on right till the end, and will no doubt help keep the beginning programmer engaged in the learning process.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted April 17, 2010

    I Also Recommend:

    "Learn C on the Mac" is a great introduction to computer programming in general and the C language specifically. I recommend it to anyone who is new to writing code for a computer.

    At the time of writing this review, I am nearly done with "Learn C on the Mac." My goal had been to eventually learn how to write simple programs for the iPhone, and it looked like starting with C was a good first step.

    This book targets people (like me) who basically have no experience with any computer language or computer programming. I played around with BASIC on the old Apple IIc computers, but was essentially a novice. If that's your situation, then have no fear; this book starts at the beginning and brings you through every step. By the time I was about two-thirds done with the book, I could easily write a program that would tell you if a number you typed in was prime. If it wasn't, the program would give you the factors of the number. That may sound like a paltry thing (and it probably is!), but it is great relative to where I started skill-wise.

    I enjoyed having the sample programs to examine and play around with. (Once you buy the book, you can download a folder of ready-made programs.) There is at least one for each chapter. The sample programs can be run as you read the chapter. You can change one or two things about each program--several chapters suggest you try this--and see the results.

    There are mini quizzes at the end of each chapter. They usually ask you to find errors in a portion of code, predict what the code will do, or have you change some code to try to make it do something. They, so far, have been nice summaries of the knowledge you get in each chapter and the previous ones.

    In summary, I heartily recommend this book. If you are already into C, then I can't tell you whether this will be worth your time and money. I notice that the author makes frequent discusses how to write code well and how to comment on it well, so that may be good reading for somebody more advanced with C.

    Unless there are some ugly surprises in the last ~75 pages (which I don't expect), I will certainly buy a more advanced book or possibly even the next one in the series from this publisher: "Learn Objective-C on the Mac."

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted November 19, 2009

    No text was provided for this review.

  • Anonymous

    Posted November 19, 2011

    No text was provided for this review.

  • Anonymous

    Posted June 11, 2009

    No text was provided for this review.

  • Anonymous

    Posted October 31, 2009

    No text was provided for this review.

Sort by: Showing all of 6 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)