C Programming - 5 days
Course Overview
This course has been designed to provide delegates with a sound theoretical and practical knowledge of reading and writing programs in the C programming language. (1989 ANSI standard.)
On completion of the course, delegates should be able to read and write such programs using the standard language and library.Objectives
By the end of the course delegates will:
- Understand the C memory model
- Define and use variables, literals, and other constants.
- Define and use aggregate data types such as arrays and structures.
- Use control flow, by if... statements, switches, and loops.
- Define and use functions.
- Define and use pointers.
- Make use of functions from the standard library.
- Read and write code making use of dynamic memory allocation.
- Read and write code that uses bit manipulation.
- Read and write file handling code.
- Understand the concepts of data and function declarations, and definitions - and know and be able to use the syntax used to express these in C code.
- Understand some basic techniques for C program design.
Prerequisites
Delegates should be programmers capable in at least one other procedural or OO language, such as Ada, Fortran, Java, or Pascal, for example.Course Topics
Each theory session is followed by a practical session:
- An Overview of C
- Data: Variables and Constants
- Basic l/O
- Arithmetic and Logical Expressions
- Arrays, Strings and Pointers
- Flow control: Iteration
- Functions
- Aggregate Data Types: structures
- The Preprocessor
- File and Formatted l/O
- Memory and Storage Classes
- Dynamic Memory Management
- Advanced Pointers
- Bitwise Operations
- Advanced Techniques and Program Design
