Chapter 5. C Programming

Table of Contents

5.1. Basic Datatypes
5.1.1. Fundamental C Datatypes
5.1.2. Fundamental AJAX Datatypes
5.1.2.1. Integer Types
5.1.2.2. Other AJAX Types
5.1.3. Derived Types
5.1.4. Storage Class and Linkage
5.2. C Pointers Primer
5.2.1. Pointer Basics
5.2.1.1. Declaring Pointers
5.2.2. Pointers to Pointers
5.3. Objects (C Data Structures)
5.3.1. Object Definition
5.3.2. Object Functions
5.4. Memory Management in EMBOSS
5.4.1. Introduction to Memory Management
5.4.1.1. General memory management macros
5.4.1.2. Object memory management macros
5.4.1.3. Object constructor and destructor functions
5.4.1.4. Failsafe object construction
5.4.1.5. Dynamic objects
5.4.1.6. EMBOSS is free of arbitrary limits
5.4.2. General Memory Management
5.4.2.1. General Macros
5.4.2.2. Object Macros
5.4.2.3. Arrays of Fundamental C-type Datatypes
5.4.2.4. Memory Leaks
5.4.3. Object Memory Management
5.4.3.1. Introduction
5.4.3.2. Object Construction
5.4.3.3. Object Destruction
5.5. Programming with Objects
5.5.1. An Example Object: AjPPdbtosp
5.5.1.1. Object Definition
5.5.1.2. Object Construction
5.5.1.3. Object Destruction
5.5.1.4. Usage Example
5.5.2. AJAX Dynamic String Object
5.5.2.1. Introduction
5.5.2.2. String Definition
5.5.2.3. String Construction
5.5.2.4. String Destruction
5.5.2.5. String Functions
5.5.3. AJAX Dynamic Array Objects
5.5.3.1. Object Definition
5.5.3.2. AjPInt Construction and Destruction
5.5.3.3. AjPInt2d Construction and Destruction
5.5.3.4. AjPInt2d Putting and Getting Array Elements