TTFlogo2.gif (2585 bytes)

 

Structured C Coding Workshop - Topical Outline

Introduction
A C Program
C language elements
C data types and constants
Describing elementary data items: int, float, double, and decimal
Character data items: char
Strings, pointers, and character arrays
Detecting and Reporting Errors
   Computer Exercise: A First C Program

 

C operators
Assignment statement
Expressions
Comparisons
Computer Exercise: Data Definition and Operators

 

Arrays
Structures
Unions
    Computer Exercise: Definining Input and Output Structures

 

Files
Text streams and Binary streams
Record files
Defining files
Processing sequential files
fopen, fread, fwrite, and fclose functions
Looping through a file
    Computer Exercise: Working With Files

 

Numeric Formatting
sprintf, fprintf, and printf
Format Strings
Format Specifications
Setting the Locale
    Computer Exercise: A Report With Files

 

Logical expressions
if statements
Conditional processing
while loops

for loops
do ... while loops
Numeric conversion for input
   Computer Exercise: A More Complex Report

 

Debugging
The C pre-processor
   Computer Exercise: Using the pre-processor

 

Report considerations
Date fields
Pseudocode: Report with page breaks

   Computer Exercise: Page Break Report

 

Program modularization - functions and subroutines
Function prototypes
Exiting functions
Storage classes and scope
    Computer Exercise: Functions and Program Modularization 

 

switch statement
Enumerated data
Introduction to stream I/O: printf and scanf
   Computer Exercise: Stream I/O and More Functions

 

Arrays
Mulit-dimensional arrays
Initializing arrays
Pointers and arrays

   Computer Exercise: Using Arrays and Subscripts

 

The C/C++ Compiler
Inputs and Outputs
Compile Time Parameters
Compiler Listing Contents
Binder Listing Contents
Execution Time Parameters
    Computer Exercise: The C/C++ Compiler

 

Miscellaneous topis
Typedef
Packed structures
Pointer access to structures
Dynamic memory usage
Dynamic calls
LE Debugging services
    CEE3DMP
    CEE3ABD
Header files
Library functions
   Optional Computer Exercise: Advanced Features

 

 

Course information: N-610 / 5 Days   These Materials © Copyright 2005 by Hunter Cobb                 V3.x

 

Course Objectives
Home page

 

this page last updated: 08 June, 2006
this page copyright © 2006 by The Trainer's Friend, Inc.