ANSI C Programming: Processing Records

Course Status: Released
Course Language: English
Course Duration: 4 Hours
Deployment Options: Online, Interactive CDs, Network, Downloads, Intranet

Audience
Experienced C programmers and software developers
Prerequisites
Awareness of programming concepts; experience of using a third-generation, high-level language such as Pascal, PL/1, BASIC, or FORTRAN
Course Aim
To enable the student to write ANSI C programs for processing aggregate data objects individually, in arrays, and in lists
Learning Objectives
Explain the use of structures in ANSI C.
Describe how to use structure and union pointers with functions.
Outline the use of bit fields, unions, and linking in ANSI C programs.
Describe the fundamental techniques for using linked lists in ANSI C programs.
Topics Covered
Structures
-
Declaration and definition
- Hands-on: Declaring and defining structures
- Accessing structure components
- Hands-on: Assigning structure data
Structures with arrays and pointers
-
Arrays of structures
- Pointers to structures
- Structures and functions
- Hands-on: Passing and returning structures
Bit fields, unions, and linking
-
Bit field properties
- Unions
- Linking two structures
- Use of sizeof and typedef


Copyright © 1995-2005 E&A Inc.. All rights reserved.