
|
This course teaches the C programming language which is still widely used despite competition from its newer offspring. The 4 day course costs £2360 in total for up to 6 students, plus VAT and the instructor's reasonable expenses. Each student beyond 6 would cost £20 for the additional course materials. If you are interested in this course, please contact us by email at
enquiries@tgn.co.uk
or by phone on |
Getting Started | Writing, building and running a C Program. Language structure. The main function. Basic console input/output. Declaring and Initializing variables. Fundamental data types. Literal strings. |
Control Flow | Control flow, loops and conditions. The for loop. Do and while. Break and continue. If and else. The conditional expression. |
Operators | The basic operators. Shortcuts. Increment and decrement, prefix and postfix. Logical and bitwise operators. Precedence and parentheses. |
Functions | Functions and argument passing. Predeclarations and prototypes. Using multiple source files. Using header files. The switch statement. Variable scope - local, static, global. Variable lifetimes. Casting. |
Arrays | Defining and using arrays. Array safety. Multi-dimension arrays. |
Memory management and Pointers | Introducing memory management. Using pointers. Pointer manipulation and arithmetic. Arrays and pointers. Arrays and pointers as function arguments. Function pointers. |
Strings | Strings and characters in C. Strings as arrays and pointers. Standard string functions. Writing string functions. |
Structures and Unions | Data structures. Passing structs by value and pointer. Dynamic structs. Variable length structs. Unions. Nesting and complex structures. Typedef. |
Input and Output | Console input and output. Formatting. Dealing with errors. File and device I/O. |
The Preprocessor | How the preprocessor works. #define and constants. Conditional compilation. Macros. Passing arguments to macros. |
Copyright © 1996 - 2010 The Graphics Network Ltd. Registered in England No. 2549085
All trademarks used on this site are respectfully acknowledged.
Microsoft is a registered trademark of Microsoft Corporation in the United States and other countries.