ANSI C Programming: Text Processing

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 text, string, and array processing
Learning Objectives
Outline the use of general arrays and character strings in ANSI C.
Use pointers for text processing and pattern matching.
Describe the common string library functions provided by the standard ANSI C library.
Topics Covered
Defining arrays
-
Array definition and subscripts
- Finding the mean of an array
- Hands-on: Reading an array
Array initialization
-
Initializing simple and 2D arrays
- Function call using arrays
- Hands-on: Accessing an array using a function
Strings
-
String definition and literals
- Extracting a substring from a string
- Hands-on: Handling substrings using arrays
- String library functions
Pointers to strings
-
Definition and initialization
- Using pointers instead of arrays
- Hands-on: Handling substrings with pointers


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