On-line training course catalogue
Introduction to C Programming
Type of course: Classroom
| Fee | £1700 |
|---|---|
| Days | 5 |
| Course code | CCINTRO |
We currently do not have public dates scheduled for this course.
If you have a requirement for this course, please contact us for the latest course information.
Print this page | Download as Word document |
Overview
This course is designed to teach ANSI Standard C to programmers in other high-level languages. ANSI Standard C is a general-purpose programming language that is widely used in areas as diverse as operating systems and games. This course will teach you how to read and write ANSI Standard C code. The course explores concepts and syntax through lectures, discussion and hands-on lab exercises.
Prerequisites
Delegates should have practical experience of programming in a high-level language.
Delegates will learn
- how to program in ANSI Standard C
- good coding practice and idioms for the safe and sensible use of language features
Course Outline
Introduction
- Origins of C
- C standards
- Feature overview
- “Hello, world!”
Data types, variables and operators
- Data types – integers, characters, floating point
- Declaring variables
- Arithmetic operators
- Logical operators
- Bitwise operators
- Precedence and associativity
- Casting and type conversions
Control flow
- If/else statements
- Switch statements;
- Do and while loops
- The for loop
- Goto
- Break and continue
Functions
- Declaring functions
- Function prototypes
- Using header files
- Passing arguments
- Return values
- Compile/link model
Arrays
- Array representation in memory
- Array declaration and access
- Multi-dimensional arrays
Pointers
- Pointer concepts
- Declaring and assigning pointers
- Dereferencing pointers
- Pointer arithmetic
- Pointers and arrays
- Passing arrays to functions
- Dynamic memory allocation
- Function pointers
- Typedef
Strings
- Strings as character arrays
- Initialising strings
- Working with strings
- Command line arguments
User-defined types
- Enums
- Structs
- Declaring and using structs
- Passing structs to functions
- Pointers and structures
- I/O – printf
- Format specifiers
- Scanf
- File I/O
- String I/O
The preprocessor
- Preprocessor directives
- Defining and using constants
- Conditional compilation
- Preprocessor macros
Advanced topics
- Storage classes
- Building programs using make
Link to this page: http://www.xpertise.co.uk/CCINTRO
Xpertise – Introduction to C Programming training courses
Xpertise provides Introduction to C Programming training courses from 22 UK locations: in Aberdeen Scotland, Altrincham Manchester, Birmingham West Midlands, Bristol South West, Edinburgh Scotland, Glasgow Scotland, Hinckley East Midlands, Leeds Yorkshire, Leeds Yorkshire (Ring Road), London King William Street, London Middlesex Street, London Rosebery Avenue, London Tabernacle Street, Maidenhead Berkshire, Malmesbury Wiltshire, Manchester (Exchange Quay), Milton Keynes Buckinghamshire, Newcastle Tyne and Wear, Reading Berkshire, Stockport Manchester, Swindon Wiltshire and Washington Tyne and Wear – and at 44 partner locations nationwide.
Xpertise Training reserves the right to improve the specification and format of its courses for the benefit of its customers without notice to the customer.
