ANSI C Programming: Text Processing


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To describe how to write ANSI C programs for text, string, and array processing

Target Audience
Programmers and software developers new to ANSI C

Prerequisites
Awareness of programming concepts; experience of using a third-generation, high-level language, such as Pascal, PL/1, BASIC, or FORTRAN

Expected Duration (hours)
4.0

Lesson Objectives

ANSI C Programming: Text Processing

  • define one-dimensional and multidimensional arrays and find the mean of an array in ANSI C.
  • write the code that reads an array in ANSI C.
  • initialize one- and two-dimensional arrays with constant data in ANSI C.
  • pass an array to a function in ANSI C.
  • write a program that stores user input in an array and then passes the array to a function in ANSI C.
  • format strings and string literals in ANSI C and distinguish between strings and character arrays.
  • identify the steps involved in extracting a substring from a string in ANSI C.
  • write the code that extracts a substring from a string using an array in ANSI C.
  • name the most common string-handling library functions in ANSI C and list their uses.
  • use the correct syntax when defining and initializing string pointers and string pointer arrays in ANSI C.
  • alter a piece of code to use pointers instead of array subscripts in ANSI C.
  • write a program that extracts a substring from a string using pointers in ANSI C.
  • Course Number:
    116752_eng