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 ADVANCED
 
Book this Course Printer Friendly Version
Duration: 5 Days (available on in-house or customised basis only)
Price: On Request
Locations Available:

 

Suitable For:

This course is intended for delegates with existing C programming experience wishing to further their working knowledge of the language.

Delegates should have previous C programming experience, equivalent to the learning content of our Introduction to C Programming course.

This course relies entirely on a ’hands-on’ approach.  Delegates, 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 expressions confidently with knowledge of precedence, promotion and sign implications
  • Interpret complex C declarations
  • Use function pointers where appropriate
  • Use pointers and arrays confidently and with insight
  • Use features of the C99 standard
  • Organise source code into compile units and libraries
  • Control source code dependencies
  • Utilise operating system services
  • Use the features of the C pre-processor to the full
  • Perform list processing







 

Course Outline:

Language Features

  • Operators and operator precedence
  • Issues concerning signed/unsigned operations
  • Promotion and type conversion
  • Enumerated types
  • ’Goto’ and labels

Arrays and Pointers

  • Index notation versus pointer arithmetic
  • Array name versus pointer to array
  • Two-dimensional arrays and arrays of pointers
  • Command-line parameters

Declarations

  • Declarations versus definitions
  • Interpreting and creating C declarations
  • Abstract declarators
  • Typedef used to avoid complex declarations

Function Pointers

  • The ’()’ operator
  • Function name versus pointers to function
  • Arrays of function pointers
  • Passing function pointer parameters

The C Pre-processor

  • File inclusion
  • Problems with macros
  • Conditional compilation and inclusion

Code organisation

  • The role of the header file
  • Source code dependencies and the ’make’ utility
  • Maintaining a source code library

The C99 Standard

  • History of C standards
  • Features introduced by the C99 standard

Systems Programming

  • Process and file information
  • Accessing environment variables
  • Low level file operations
  • Creating processes
  • Working with signals

List processing

  • Single-linked lists
  • Maintaining an ordered list
  • Circular lists
  • Binary trees and recursion
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