Thales Training & Consultancy
Search
Developing People for Success
THALES - Training & Consultancy
Email Thales Traing & Consultancy THALES - Training & Consultancy
Newsletter Sign-up
 
ILM Approved Courses Investor In People
Institute of IT Training
C PROGRAMMING INTRODUCTION
 
Book this Course Printer Friendly Version
Duration: 5 Days (available on an in-company or customised basis only)
Price: On Request
Locations Available:

 

Suitable For:

This course is intended for delegates with programming experience wishing to gain detailed knowledge of the language.

It is ideally suited for software engineers and application and system programmers working with the C language. Participants should have previous programming experience in either high-level or assembly languages.

This course relies entirely on a ’hands-on’ approach.  Candidates, under the trainer’s guidance, develop example programs to illustrate features of the language and are encouraged to experiment with these to promote a full understanding.

In parallel are programming exercises intended to utilise the newly learned techniques in a problem-solving context.

Objectives:

By the end of the course delegates will be able to

  • Use an editor, compiler and linker to create and run C programs
  • Implement algorithms using C’s operators and control structures
  • Structure a solution using C’s function and parameter passing mechanisms
  • Utilise existing components from the C standard library
  • Create data structures using C’s composite types
  • Perform file operations in C
  • Manipulate heap memory
 

Course Outline:

Numeric Types

  • Integer and float types – variables and literals
  • Arithmetic operators
  • Type conversion and promotion
  • Console input and output

Control flow

  • Branching  - ’if..else’ and ’switch’
  • Looping - ’while’, ’do..while’ and ’for’
  • ’break’ and ’continue’
  • Nested control structures

Operators and Expressions

  • Relational and logical operators
  • Bitwise operations
  • Indirection and pointer types
  • The conditional operator
  • Increment and decrement
  • The assignment operators

Functions

  • Program structure and library routines
  • Passing parameters by value
  • Passing pointers
  • Using the return mechanism
  • Scope and linkage considerations

Arrays

  • Index notation and pointer arithmetic
  • Array initialisers
  • Arrays of pointers
  • Two-dimensional arrays

Strings

  • The C string convention
  • String variables and literals
  • Arrays of strings
  • Command-line parameters
  • String library functions

Record Structures

  • Field access via the ’dot’ operator
  • Structs, struct tags, struct initialisers
  • Complex data structures
  • Unions

File Operations

  • Opening files for reading and writing
  • Using library routines for file I/O
  • Text versus binary files for structs

Dynamic Memory

  • Dynamic memory allocation using ’malloc’
  • Heap management and memory leakage
Management & People Development Training | Senior Management Development | Training Management Services | Information Technology Training
Technology Training | Health and Safety Training | Thales Case Studies

Home | About Us | Course Booking | Thales News | Site Map
Copyright © 2004 Thales Training & Consultancy. All rights reserved. Site by Fresh Egg Web Design & Search Engine Promotion