Mark | Learn C on the Mac | E-Book | www.sack.de
E-Book

E-Book, Englisch, 376 Seiten

Mark Learn C on the Mac


1. ed
ISBN: 978-1-4302-1810-4
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

E-Book, Englisch, 376 Seiten

ISBN: 978-1-4302-1810-4
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



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

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.

Mark Learn C on the Mac jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Contents at a Glance;5
2;Contents;6
3;About the Author;13
4;About theTechnical Reviewer;14
5;Acknowledgments;15
6;Preface;16
7;Welcome Aboard;17
7.1;Who Is This Book For?;17
7.2;The Lay of the Land;18
8;Go Get the Tools!;20
8.1;Create an ADC Account;20
8.2;Download the Tools;21
8.3;Installing the Tools;23
8.4;Take Your Tools for a Test Drive;25
8.5;Downloading the Book Projects;31
8.6;Let’s Move On;31
9;Programming Basics;32
9.1;Programming;32
9.2;The Programming Process;35
9.3;What’s Next?;39
10;C Basics: Functions;40
10.1;C Functions;40
10.2;Calling a Function;44
10.3;A Brief History of C;47
10.4;The Standard Library;48
10.5;Exploring Unix and Your Mac’s Built-In Manual;49
10.6;Same Program, Two Functions;51
10.7;Let’s Do That Again, Again, Again;58
10.8;Generating Some Errors;59
10.9;C Is Case Sensitive;62
10.10;What’s Next?;62
11;C Basics: Variables and Operators;64
11.1;An Introduction to Variables;65
11.2;Operators;71
11.3;Using Parentheses;75
11.4;Operator Precedence;76
11.5;Sample Programs;78
11.6;Sprucing Up Your Code;92
11.7;What’s Next?;97
12;Controlling Your Program’s Flow;99
12.1;Flow Control;99
12.2;Expressions;102
12.3;What’s Next?;132
13;Pointers and Parameters;134
13.1;What Is a Pointer?;134
13.2;Pointer Basics;137
13.3;Function Parameters;144
13.4;What Does All This Have to Do with Pointers?;150
13.5;Global Variables and Function Returns;153
13.6;More Sample Programs;159
13.7;Using the Debugger;166
13.8;What’s Next?;170
14;Variable Data Types;173
14.1;Data Types Beyond int;173
14.2;Working with Characters;184
14.3;Arrays;190
14.4;Danger, Will Robinson!;196
14.5;Text Strings;197
14.6;The #define Directive;206
14.7;What’s Next?;215
15;Designing Your Own Data Structures;218
15.1;Bundling Your Data;218
15.2;Model A: Three Arrays;219
15.3;Finishing Up With Model A;231
15.4;Model B: The Data Structure Approach;233
15.5;Passing a struct As a Parameter;237
15.6;Allocating Your Own Memory;242
15.7;Working with Linked Lists;246
15.8;What’s Next?;258
16;Working with Files;260
16.1;What Is a File?;261
16.2;Working with Files: File Basics;261
16.3;Working with Files: Writing Files;270
16.4;Working with Files: Fancier File Manipulation;283
16.5;What’s Next?;292
17;Advanced Topics;294
17.1;Typecasting;294
17.2;Unions;298
17.3;Function Recursion;301
17.4;Binary Trees;305
17.5;Function Pointers;312
17.6;Initializers;313
17.7;The Remaining Operators;316
17.8;Creating Your Own Types;319
17.9;Static Variables;321
17.10;More on Strings;323
17.11;What’s Next?;325
18;Where Do You Go from Here?;328
18.1;The Mac User Interface;329
18.2;One Last Bit of Code;331
18.3;Go Get ’Em;333
19;Answers to Exercises;334
19.1;Chapter 4;335
19.2;Chapter 5;338
19.3;Chapter 6;339
19.4;Chapter 7;340
19.5;Chapter 8;341
19.6;Chapter 9;343
19.7;Chapter 10;344
19.8;Chapter 11;345
20;Index;347



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.