|

Learn C on the Macintosh
Mac OS X Edition
By Dave Mark
Learn how to program on the Mac!
eBook: PDF, 292 pages, ISBN 0-9744344-1-8
Considered a classic by an entire generation of Mac programmers,
this popular guide has been completely 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. Perfect for beginners learning to program. Includes all new Mac OS X examples!
Table of Contents
| Chapter 1: Welcome Aboard |
 |
Who is This Book For? |
| Chapter 2: Go Get the Tools! |
| Chapter 3: Programming Basics |
 |
Programming |
 |
The Programming Process |
| Chapter 4: C Basics: Functions |
 |
C Functions |
 |
Calling a Function |
 |
ISO C and the Standard Library |
 |
Same Program, Two Functions |
 |
Another Example |
 |
Generating Some Errors |
 |
C is Case Sensitive |
 |
Exercises |
| Chapter 5: C Basics: Variables and Operators |
 |
An Introduction to Variables |
 |
Operators |
 |
Using Parentheses () |
 |
Operator Precedence |
 |
Sample Programs |
 |
Sprucing Up Your Code |
 |
Exercises |
| Chapter 6: Controlling Your Program's Flow |
 |
Flow Control |
 |
Expressions |
 |
Statements |
 |
Exercises |
| Chapter 7: Pointers and Parameters |
 |
What is a Pointer? |
 |
Pointer Basics |
 |
Function Parameters |
 |
What Does All This Have to Do with Pointers? |
 |
Global Variables and Function Returns |
 |
More Sample Programs |
 |
Exercises |
|
 |
| Chapter 8: Variable Data Types |
 |
Other Data Types |
 |
Working With Characters |
 |
Arrays |
 |
Danger, Will Robinson!!! |
 |
Text Strings |
 |
The #define |
 |
Exercises |
| Chapter 9: Design Your Own Data Structures |
 |
Structures |
 |
Model A: Three Arrays |
 |
Back to Model A |
 |
Model B: The Data Structure Approach |
 |
Passing a Struct as a Parameter |
 |
Allocating Your Own Memory |
 |
Working With Linked Lists |
 |
Exercises |
| Chapter 10: Working with Files |
 |
What is a File? |
 |
Working With Files, Part One |
 |
Working With Files, Part Two |
 |
Working With Files, Part Three |
 |
Exercises |
| Chapter 11: Advanced Topics |
 |
What is Typecasting? |
 |
Unions |
 |
Function Recursion |
 |
Binary Trees |
 |
Function Pointers |
 |
Initializers |
 |
The Remaining Operators |
 |
Creating Your Own Types |
 |
Static Variables |
 |
More on Strings |
 |
Exercises |
| Chapter 12: Where Do I Go From Here? |
 |
The Macintosh User Interface |
 |
Go Get 'Em |
| Appendix A: Answers to Selected Exercises |
|
About the Author
Dave Mark is a long-time Mac developer and author and has written a number of books on Macintosh development, including Learn
C on the Macintosh, The Macintosh Programming Primer series, and Ultimate
Mac Programming. Dave is the Editor-in-Chief of MacTech Magazine and has been writing for MacTech since its birth.
More Spiderworks Books from Dave Mark...
|
|

eBook $14.95

Free Preview

|
|

|