About GBdirect Consultancy Training Development

Section navigation

Leeds Office (National HQ)

GBdirect Ltd
Leeds Innovation Centre
103 Clarendon Road
LEEDS
LS2 9DF
West Yorkshire
United Kingdom

consulting@gbdirect.co.uk

tel: +44 (0)870 200 7273
Sales: 0800 651 0338

South East Regional Office

GBdirect Ltd
18 Lynn Rd
ELY
CB6 1DA
Cambridgeshire
United Kingdom

consulting@gbdirect.co.uk

tel: +44 (0)870 200 7273
Sales: 0800 651 0338

Please note: Initial enquiries should always be directed to our UK national office in Leeds (West Yorkshire), even if the enquiry concerns services delivered in London or South/East England. Clients in London and the South East will typically be handled by staff working in the London or Cambridge areas.

8.6. Summary

This is a chapter describing specialized areas of the language.

Undoubtedly, the issues of scope, linkage and duration are important. If you find the whole topic too much to digest, just learn the simple rules. The problem is that the Standard tries to be complete and unambiguous, so it has to lay down lots of rules. It's much easier if you just stick to the easy way of doing things and don't try to get too clever. Use Example 8.2 as a model if in doubt.

The use of typedef depends on your level of experience. Its most common use is to help avoid some of the more unpleasant aspects of complicated type declarations.

The use of const will be widespread in many programs. The idea of a pointer to something which is not modifiable is well and truly emphasized in the library function prototypes.

Only specialized applications will use volatile. If you work in the field of real-time programming, or embedded systems, this will matter to you. Otherwise it probably won't. The same goes for sequence points. How well the early compilers will support these last two features will be a very interesting question.