Zum Hauptinhalt springen
Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Programming Primer for the Macintosh(R) -  John M. May,  Judy Whittle

Programming Primer for the Macintosh(R) (eBook)

Volume 1
eBook Download: PDF
2014 | 1. Auflage
302 Seiten
Elsevier Science (Verlag)
978-1-4832-6555-1 (ISBN)
Systemvoraussetzungen
53,87 inkl. MwSt
(CHF 52,60)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Programming Primer for the Macintosh, Volume 1 focuses on the principles and operations of the Macintosh system. The publication first offers information on the development environment, creating a simple program with Symantec C++, and a review of C++. Discussions focus on pointers, handles, patterns, points, creating a source file, compiling the program, adding libraries, adding file to the subject, building an application, and useful tools. The text then takes a look at the Macintosh ROM, Mac programs and system software, and toolbox managers. Topics include menu, window, control, and dialog manager, alerts, desktop interface, event-driven programming, trap mechanism, interface and library files, stack frame incompatibility, and the relationship between an application and toolbox. The book examines QuickDraw, alerts, and dialogs, memory manager, and object-oriented programming. Concerns include structures, linked list example, new and delete operators, and handling lines, rectangles, round rectangles, ovals, arcs, and polygons The publication is a dependable reference for computer programmers and researchers interested in the Macintosh system.

John May is the Group Leader for Computer Science in the Center for Applied Scientific Computing (CASC) at the Lawrence Livermore National Laboratory. His interests include parallel programming models, performance analysis, parallel I/O, and parallel programming tools. He has served on the MPI-2 Forum, the High Performance Debugger Forum, and the Steering Committee of the Parallel Tools Consortium. Currently, he works on the Parallel Performance Improvement project, where he is investigating performance analysis techniques for massively parallel computers. Dr. May joined LLNL in 1994 after receiving his Ph.D. in Computer Science from the University of California, San Diego. He also holds a BA in Physics from Dartmouth College. Prior to entering graduate school, he worked at AT&T (now Lucent) Bell Laboratories on optoelectronic device technology.
Programming Primer for the Macintosh, Volume 1 focuses on the principles and operations of the Macintosh system. The publication first offers information on the development environment, creating a simple program with Symantec C++, and a review of C++. Discussions focus on pointers, handles, patterns, points, creating a source file, compiling the program, adding libraries, adding file to the subject, building an application, and useful tools. The text then takes a look at the Macintosh ROM, Mac programs and system software, and toolbox managers. Topics include menu, window, control, and dialog manager, alerts, desktop interface, event-driven programming, trap mechanism, interface and library files, stack frame incompatibility, and the relationship between an application and toolbox. The book examines QuickDraw, alerts, and dialogs, memory manager, and object-oriented programming. Concerns include structures, linked list example, new and delete operators, and handling lines, rectangles, round rectangles, ovals, arcs, and polygons The publication is a dependable reference for computer programmers and researchers interested in the Macintosh system.

Front Cover 1
Programming Primer for the Macintosh® 4
Copyright Page 5
Table of Contents 6
Acknowledgments 14
Chapter 1. Introduction 16
History of the Macintosh 16
Macintosh Innovations 17
Apple Macintosh Naming Creations 18
Elements Comprising a Macintosh System 18
Summary 30
Chapter 2. The Development Environment 32
What the Developer Needs 32
Useful Tools 35
A Word about Development Environments 36
A Brief Look into the Future 39
Summary 39
Chapter 3. Creating a Simple Program with Symantec C++ 40
Starting Symantec C++ 40
Constructing a Project 42
Segments 44
Creating a Source File 45
Adding the File to the Project 46
Adding Libraries 46
Compiling the Program 48
Running the Program 49
Building an Application 49
Summary 51
Chapter 4. A Review of C++, Mac Style 52
Basic Variable Types 53
Advanced Variable Types 53
Points 54
Rects 56
Patterns 57
Arrays 60
Pointers 60
Handles 62
Comments 62
Constants 63
Operators 69
The C Preprocessor 75
Structure of a C Program 77
C Features Not Used on the Mac 77
Right-Left Rule 78
Summary 80
Chapter 5. The Macintosh ROM 82
It's All in the Name: The Toolbox 82
Managers 83
Relationship between an Application and the Toolbox 83
Trap Mechanism 84
Interface and Library Files 89
Stack Frame Incompatibility 89
Summary 90
Chapter 6. Mac Programs and System Software 92
Macintosh Programs 93
Macintosh System Software 97
Event-driven Programming 98
Event Manager 102
The Desktop Interface 104
Summary 105
Chapter 7. Toolbox Managers 106
Menu Manager 106
Window Manager 112
Control Manager 116
Dialog Manager 119
Alerts 120
TextEdit Manager 122
List Manager 122
Scrap Manager 124
Resources 124
Summary 130
Chapter 8. QuickDraw 132
Shapes Drawn by QuickDraw 134
Handling Lines 135
QuickDraw Terminology—GrafVerbs 135
Handling Rectangles 136
Handling Round Rectangles 138
Handling Ovals 139
Handling Arcs 140
Handling Polygons 140
Handling Regions 142
Handling Points 144
Handling Pictures 144
More QuickDraw Terminology 146
BitMaps/PixMaps 146
Port Frame 149
The Graphics Pen 150
Text Characteristics 152
QuickDraw Color 154
Cursors 158
Example 159
Summary 162
Exercise 163
Chapter 9. Alerts and Dialogs 170
Alerts 170
Dialogs 176
Summary 221
Chapter 10. Memory Manager 224
Stack and Heap 225
Summary 236
Chapter 11. Object-Oriented Programming 238
OOP and C++ 238
Structures 240
Class 245
Objects 246
Methods 248
Messages 249
Accessor 249
Constructor 249
Destructor 250
The New and Delete Operators 251
Friends 251
Linked List Example 252
Derived Classes 258
Pointers and Objects 261
Traditional or Object Programming: When to Use Each 264
Class Libraries 265
Summary 265
Chapter 12. Debugging and Finder Resources 266
Debugging 266
Finder Resources 273
Summary 286
Appendix A: Glossary 288
Appendix B: Bibliography 294
Index 298

Erscheint lt. Verlag 10.5.2014
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Mathematik / Informatik Informatik Theorie / Studium
ISBN-10 1-4832-6555-2 / 1483265552
ISBN-13 978-1-4832-6555-1 / 9781483265551
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
PDFPDF (Adobe DRM)

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Grundlagen, Objektorientierung und fortgeschrittene Konzepte

von Christian Kohls; Alexander Dobrynin

eBook Download (2023)
Carl Hanser Fachbuchverlag
CHF 38,95