Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Background
You may have heard of design patterns - factories, singletons and the like. The C++ template system provides a base from which you can implement your design, whether you've used UML or some other technique.
Tips and short articles on this subject
Some new C programming examples - files, structs, unions etc
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
C and C based languages module C238
Templates
Exercises, examples and other material relating to training module C238. This topic is presented on public courses Learning to program in C++, C++ for C Programmers, C and C++ Programming

Learning to program in C++ - a conversion course for programmers in other languages This intensive course teaches the C languages, and the C++ language ...
http://www.wellho.net/course/cffull.html  [course]
C and C++ Programming - a conversion course for programmers in other languages This intensive course teaches the C languages, and the C++ language which ...
http://www.wellho.net/course/cafull.html  [course]
C++ for C Programmers - Learn Object Orientation and the C++ language This course takes experienced C programmers and teaches them the extra skills of ...
http://www.wellho.net/course/cpfull.html  [course]
A series of new "C" examples have been added to the web site - a course for a small group allowed me to go somewhat away from the more normal run yesterday ...
http://www.wellho.net/mouth/1478_Som ... s-etc.html  [short article]
#include /* Function templates are a way of defining a whole family of functions which are essentially the same except that they work on different types ...
http://www.wellho.net/resources/ex.php4?item=c238/template.cpp  [code sample]
/* A vector is like an array in many ways, but it is dynamic; operators such as [] can be used to access elements, and you can also access elements via ...
http://www.wellho.net/resources/ex.php4?item=c238/vec01.cpp  [code sample]
# makefile - module C238 COPTS = -Wno-deprecated template: template.cpp g++ ${COPTS} template.cpp -o template # Tidy up directory / remove ...
http://www.wellho.net/resources/ex.php4?item=c238/makefile  [code sample]

You may have heard of design patterns - factories, singletons and the like. The C++ template system provides a base from which you can implement your design, whether you've used UML or some other technique.

This topic is presented on public courses Learning to program in C++, C++ for C Programmers, C and C++ Programming

Examples from our training material
makefile   Compile / Load instructions for examples in this module
template.cpp   Function templates
vec01.cpp   Use of a vector in C++
Background information
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
Template definition - parameterized types.
Template functions.
Templates and friends.
Static members and templates.
Exceptions and templates.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses 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.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho