Site Sections => About Us | Consultancy | Training | Software | Publications | Open Source | Support | Open Standards | FAQ | Jobs
Site Style Info

C++ Programming for C Programmers - A 4 day Course

Synopsis

This in-house course is designed to give a solid grounding in the key aspects of C++ and the Standard Template Library (STL) to those who already have experience of programming in C or a similar language. Where there is no background in C we recommend our Introduction to C++ Programming course instead, as that course also covers the elements of C that are applicable to C++.

The course covers all of the important features of the language, ensuring an understanding of the principles which underpin the design of effective, high-quality delivered software.

The course is based on many years' experience of teaching C++ and avoids the common pitfalls which less mature courses often stumble across. We focus on the needs of day-to-day users of the language who will have to not only use existing libraries of classes but also to understand the mechanisms used in the implementation of those libraries.

C++ contains a number of features which, although fascinating from a technical point, are not directly relevant to developing a useful degree of competence with the language. Depending on the likelihood of encountering these, they are either deferred to an advanced course or covered in enough depth to ensure a reading ability only.

The course takes a pragmatic approach to the use of Object Orientation. Examples are carefully chosen to lead students naturally to the concepts of Object Based and Object Oriented programming without being dogmatic about whether these techniques are essential in every case.

Suitable for

Programmers and designers who already have fluency in C (or who have attended the introductory C basics course) and who now wish to gain a solid understanding of the use of C++ for software development.

Prerequisites

  • Practical experience of software development
  • Familiarity with procedural programming concepts
  • Familiarity with the C is vital, but additional knowledge of languages such as Java, Perl, PHP or Javascript also make an excellent starting point.

Course Benefits

The course ensures that delegates understand what is necessary to both design and use C++ classes in the production of high-quality software. The course is designed with programmers in mind and it concentrates on building students' C++ skills as quickly as possible.

Other Information

Delegates receive comprehensive course notes and a reference textbook. The course notes include worked examples to all exercises. The source code to worked examples can be made available on request to GBdirect Ltd.

Delivery

This course is only available as in-house training for company groups. Please contact us at training@gbdirect.co.uk to find out about a delivery of this course for your company.


Contents:

Background to C++

  • User-defined types
  • Encapsulation
  • Polymorphism
  • The Standard Template Library
  • Namespaces
  • Exercises

Classes

  • Private and public members
  • Member functions
  • Constructors
  • Destructors
  • References
  • Static Members
  • Exercises

Further Techniques with Functions

  • Prototypes
  • Linkage
  • Overloading
  • Ambiguity
  • Default Arguments
  • Exercises

Managing Memory

  • New and delete
  • Object copying
  • Copy constructor
  • Assignment operator
  • The this pointer
  • Exercises

Inheritance

  • Simple inheritance
  • Polymorphism
  • Object slicing
  • Base initialisation
  • Virtual functions
  • Exercises

Operator Overloading

  • NB: this is a brief introduction
  • Operator functions
  • I/O operators
  • Friends
  • Member operators
  • Conversions
  • Exercises

Templates

  • Introduction
  • Template classes
  • Declaration and instantiation
  • Template functions
  • Exercises

Standard Template Library

  • Namespaces reviewed
  • Strings
  • Vectors
  • Iterators
  • Hashes
  • Iostreams
  • Other types

Exception Handling

  • Purpose
  • Simple use
  • Exceptions and derived classes
  • Function exception declarations
  • Unexpected exceptions
  • Exceptions when handling exceptions
  • Resource capture and release
  • Exercise and review

Worked solutions to all exercises

C++ training UK enquiries

UK Training enquiries and feedback form.

C++ training UK prices

For publicly scheduled training (individual places), see our UK training schedule.

In-house training for company groups is charged at a daily rate per group — see our In-House UK Training Guidelines.

Publicly Scheduled Training Locations

We currently run public training courses in the following locations:

  • London, UK
  • Leeds, West Yorkshire, UK
  • Birmingham, West Midlands, UK
  • Carshalton, Surrey, UK
  • Chester, North West, UK
  • Coventry, West Midlands, UK
  • Edinburgh, Scotland, UK
  • Glasgow, Scotland, UK
  • Harwell, Oxfordshire, UK
  • Manchester, North West, UK
  • Milton Keynes, Buckinghamshire, UK
  • Newark, Nottinghamshire, UK
  • Reading, Berkshire, UK
  • Slough, Berkshire, UK
  • Stevenage, Hertfordshire, UK
  • Wakefield, West Yorkshire, UK
  • Wokingham, Berkshire, UK

Most UK public training courses are available on a monthly basis.

Please see the individual course outlines or our public training schedule for details.

In-house (on-site) training locations

We deliver in-house courses at client premises and/or training facilities in any part of the world which is practically and commercially accessible.

Our In-house training guidelines outline our basic requirements and our UK pricing structure. To estimate costs for training in other countries, simply convert to your local currency and then make a rough calculation of our tutor's costs for travelling to and staying at your location.


West Yorkshire Office

GBdirect Ltd
Training Division
Bradford Design Exchange
34 Peckover Street
BRADFORD
BD1 5BD
West Yorkshire
United Kingdom

training@gbdirect.co.uk

Training: 0800 651 0338
General: +44 (0)870 200 7273
Finance: +44 (0)1353 615 174

Please call between 0900 and 1700 (UK time) on Monday to Friday


South East Regional Office

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

training@gbdirect.co.uk

Training: 0800 651 0338
General: +44 (0)870 200 7273
Finance: +44 (0)1353 615 174

Please call between 0900 and 1700 (UK time) on Monday to Friday


Please note:
Non-training enquiries should be directed, initially, to our UK national office in Bradford (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.