Talk to a Training Advisor
Request availability by clicking a date.
|
|
About this class This course provides a thorough coverage of the C programming language. It discusses all major aspects of C and the standard functions available to C. The course provides a good mix between theory and practice with terminals available for each candidate. Each topic has a complete set of example material and exercises. What prerequisites are required This course assumes no prior C programming knowledge. However, a good understanding of computing principles, operating systems (especially command driven, e.g. DOS or Unix), filesystems and text editing is essential. Contents of this class - Introduction
- K&R and ANSI C. Preprocessor, compiler, assembler, linker
- Compiling a simple C program
- Simple main() printf() program. Comments. Using the cc compiler
- Variable types, definition and initialisation
- Variable names, variable types. Declaring and initialising variables.
- Enumerators, sizeof(), typedef()
- printf()
- printf() layout and arguments, % formatting types. \ characters.
- Scanf()
- scanf() layout and arguments, formatting information.
- Modifying variables
- Arithmetic, bitwise, incremental and assignment operators,.
- Precedence, implicit and explicit type conversion (casts)
- if, relational operators and switch
- if, else if, else. && and . Relational operators and switch
- Loops
- While, do and for loop. Break, continue & exit. Gotos and labels
- Introduction to Functions
- Defining a function. Input variable declarations. Local variables.
- Return statement, void. Declaring functions. Calling functions.
|