Main Content

Final examples for 2014 - and a look at our 2015 training course options

Archive - Originally posted on "The Horse's Mouth" - 2014-12-31 03:40:01 - Graham Ellis

Following on from yesterday's examples [here] in which I talked you through, with links to code samples, the design and creation of a class, starting off with a description of its behaviour in the form of a test program and adding a test object class too, I'm now adding two short sample programs to make use of that class. These examples also doubled up to provide an introduction to object pointers, and to the allocation of heap memory for object storage via the new keyword.

First example - [here] which sets up an array of HotelRoomBooking objects. Second example, which uses a vector so that we can store information even before we know the total number of items to store (using a linked list) [here]. The class headers file may be found [here] and the function (method) definitions for the class [here]. Together, that will give you a complete example you can run.

Examples written on our training course are often posted up and available for you to study. We add comments - both within the source code and in articles such as this one - to help guide you through the code, but we do emphasise that they are just teaching examples and you should check that they do what you want and are appropriate for you before you make any use of them; they are not intended to be production code, nor are they necessarily appropriate for all circumstances (indeed some show common pitfalls quite intentionally,). In other words, you make use of them at your own risk and we cannot be responsible for how you use them, or any consequences thereof. We also retain copyright on the examples and our training notes and ask that you do not use the examples in order to present / run training classes or courses yourself.

Our 2015 schedule of courses is online - shown [here] on our website; as time progresses and course run, they'll disappear off the list, and in just a few months time we'll be looking forward to our 2016 schedule, with those dates being added during summer 2015.

For 2015, we are offering public courses in C, C++, Perl, PHP, Python, Ruby, Tcl, Lua and Tcl, with 5 day courses for newcomers to programming or 4 day course for experienced programmers converting from other languages, in each case. For simpler languages such as Lua, the course spends rather more time on the programming techniques and algorithms you'll need to make good use of the language, whereas with more complex and feature-rich languages more time will be spent on the language elements themselves. You can click on links within our course schedule to find the specific details of any individual language course.

Also on our public schedule for 2015 is our Depoying Apache / Tomcat course for technical staff looking after applications running on the Apache Tomcat server in association / fronted by the Apache Httpd Server. This 2 day course next runs in late March.

Please ask us if you would like intermediate or advanced training on any of the subjects / language that we teach, as we're often able to schedule such sessions for you. By their very nature, advanced topics are many and varied, and so we're not offering standard mixes as regular public courses. You will find details of the modules from which such courses are constructed [here] - please get in touch if you're interested and we'll help work out a training scheme for you, based on your background, what you need to learn, and the dependencies of various modules on each other.

We run many private courses too - again in C, C++, Perl, PHP, Python, Ruby, Tcl, Lua and Tcl, and also in Java and on (My)SQL and Linux basics. Such course are cost effective for delegate groups of 3 or more people, and can take place at our training centre or on your site. Typically, courses are tailored to suit your exact needs, although on some occasions your needs will be exactly the same as our public course and no amendments will be needed. In any case, presentation of these course is flexible to reflect your needs. See [here] for an overview of private (onsite) courses and a quotation link, and [here] for deatils of private courses at our training centre and hotel.