Exercises, examples and other material relating to training module C221. This topic is presented on public courses Learning to Program in C
, Learning to program in C++
, Programming in C
, C and C++ Programming
As a low level language, there are a number of things
that C does NOT do for you that other languages do. For
example, if you use the contents of an uninitialised variable
you'll get unpredicatble results, and if you reference off the
end of an array you'll use or corrupt other variables or your
code. Such issues, together with bad programming and a lack of
thorough testing, have caused some of the major internet security
holes we've seen over recent years. In this module, we study the
issues that you need to guard against and teach you how to write
robust and reliable code in C.
Examples from our training material
|oob.c|| A poor program - using un initialised variables and an out of bounds array|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
Handling Binary data.
Scrubbing user input.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.