Speak to our team now +44 (0)1737 821590

Effective programming with C

A 5 day
HANDS ON
training course

C training course description

A hands-on introduction to programming in the ANSI C programming language. The course initially moves at a fast pace in order to spend as much time as possible on the subject of pointers - the area which cause the most bugs in C programs.

Key outcomes from this course

By the end of the course delegates will be able to:
  • Write ANSI C programs
  • Use the C libraries
  • Debug C programs
  • Examine existing code and determine its function.

C training course details

Who will benefit:
Programmers wishing to learn C.
Programmers wishing to learn C++ or Java.
Prerequisites:
None although experience in another high level language would be useful.
Duration:
5 days

Training approach

This structured training course seeks to build upon workbook learning through the use of group exercises, dynamic discussion and individual tasks in order to deliver an engaging and interactive module that will ensure all candidates are able to transfer their new skills into the workplace.

Overall ratings for this course:

Course review


"Hard concepts were explained very simply."
J. S., Framestore CFC
"Excellent presentation - very good course structure."
B. M., London Internet Exchange

C training course contents

Getting started
The compilation process, comments, main(), statement blocks, printf().

C data types and operators
char, int, float and double, qualifiers, arithmetic and assignment operators, precedence, Associativity.

Basic I/O
C libraries, stdin and stdout, getchar(), putchar(), printf() formatting.

Flow control
if else, dangling elses, else if, while and for loops. switch statements, the null statement, break, continue and gotos.

Functions
Function calls, arguments and return types, function declarations (prototypes), function definitions, scope of variables.

The preprocessor
Preprocessor actions, macros, #include. Libraries and their relationship with header files. Conditional compilation.

More data types and operators
Logical, bitwise and other operators, type conversion, casting, typedefs and access modifiers.

Arrays
Declaring and handling arrays, common gotchas, multidimensional arrays.

Pointers
What are pointers? Why they are so important, declaring and using pointers,The three uses of the *,pointer example - scanf, pointers as arguments.

More pointers
Golden rules of pointers and arrays, pointers to arrays, pointer arithmetic, arrays of pointers, multiple indirection.

Character/string manipulation
Arrays of characters, string definition, working with strings, String library.

Program arguments
argc and argv, example uses,char *argv[] versus char ** argv.

Program structure and storage classes
Globals (externals), multi source programs, the look of a C program.

Structures
Declaration, the . and -> operators, unions and bitfields.

Library functions
File handling, fopen and fclose, reading from and writing to files, fseek().calloc() and malloc()

Why Choose Us

SNT trainers score an average of over 90% on the three main areas of:
  • Ability to teach
  • Technical knowledge
  • Answering questions
“Excellently presented by a very knowledgeable and enthusiastic trainer.” P.D. General Dynamics

We limit our maximum class size to 8 delegates; often we have less than this. This ensures optimal interactivity between delegates and instructor.
"Excellent course. The small class size was a great benefit…" M.B. IBM

We write our own courses; courseware does not just consist of slides and our slides are diagrams not bullet point text. A typical chapter provides clearly defined objectives with a chapter overview, slides with text underneath, a quiz at the end to check the learning of the students. Hands on exercises are at the end and are used to reinforce the theory.

See Dates & Prices for this course

To enquire about this course

To reserve this course online