Programming in the C Language
COURSE DESCRIPTION
This course will teach the syntax and constructs of the ANSI
C programming language. Both basic and advanced techniques
will be shown.
COURSE OBJECTIVES
The overall course objective is to teach sufficient C language
information to have the programmer at production coding
level by the end of the course.
COURSE TOPICS
C programming structure
main routine layout
C data types
statements used to allocate storage
radix specifiers
Basic operators
unary
binary
logical
conditional
Beginning input and output in C
printf function
scanf function
Commands for C program development
compile
link
run
Loop constructs
for statement
while statement
do while statement
Arrays
layout
dimensioning
accessing
Decision statements
if blocks
switch block
Defining and calling functions
prototyping
data declarations
returning values
Character string operations
null-terminated strings
C run-time string functions
Structures
struct statement
accessing structure members
structures containing arrays
structures containing structures
Creating and accessing files
file functions
Understanding and using pointers
pointers to simple data types
pointers to structures
pointers to arrays
pointers to character strings
pointers and functions
Bit operations
setting, clearing, testing
using bits within structures
Defining macros
pre-processor directives
including directives at compile time
conditional compilation
COURSE DURATION
This course requires five (5) days, approximately
50% lecture, and 50% lab time.
COURSE PREREQUISITES
It is assumed that the participant has used an interactive
computer system, specifically, use of a text-file editor.
Basics of the specific editor(s) used for the course will
be covered during the program development module.
|