Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2021 - online Python 3 training - see ((here)).

Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.

Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.
Further C++ material - view new or old

I've taken out the old header <iostream.h> and replaced it by the current <iostream>. I've adding in using namespace std; where I've need to, in order to allow me access to cin and cout without a need to prefix then with std:: under the new header file (and to save me loads of errors at load time when other standard stuff is loaded!). And I've commented out the supressions of deprecated warnings from my makefile - # COPTS = -Wno-deprecated

I've taken the opportunity to add in to many of the main programs ... adding samples of how they compile and run, so that you can see what the programs do. Nothing to do with the way they work - everything to do with making them better examples when delegates come back and look and see how programs on their courses worked.

An update log for the basic defining and using classes in C++ module:

All in one first demo [here] replaces previous all in one demo [here].

Separating that into two files - the new main program [here] replaces the previous [here], but the included functions are unaltered [here]. I have added a few comments to the latter file, but as none of the executable statements nor C preprocessor directives has been changed, I have not provided a duplicate file on this site.

Use of a header (include) file and methods held in a separate file - main program of the demo [here] replaces previous version [here]. The include file [here] and functions [here] are unchanged.

An example with a specific contructor and destructor. The new class code is [here] and the previously used class code [here]. The new main program is [here] and the previous version [here]. Note that the only reason that I've had to change the class code at all is that I have added uses of cout in the constructor and destructor - as a demonstration so that the user / person running the code can see when they're called. You would certainly not want to do this in production code.

For completeness, the new makefile is [here] replacing the previous one [here].
(written 2010-07-04)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
C239 - C and C based languages - Putting it all together
  [836] Build on what you already have with OO - (2006-08-17)
  [925] C++ - just beyond the basics. More you can do - (2006-11-14)
  [945] Code quality counts - (2006-11-26)
  [1181] Good Programming practise - where to initialise variables - (2007-05-09)
  [2646] Compile but do not run PHP - syntax check only - (2010-02-22)
  [2673] Multiple Inheritance in C++ - a complete example - (2010-03-12)
  [2674] Make and makefiles - a commented example to help you learn - (2010-03-12)
  [3067] Using C and C++ functions in the same program - how to do it - (2010-11-24)
  [3069] Strings, Garbage Collection and Variable Scope in C++ - (2010-11-25)
  [3252] C++ - unknown array size, unknown object type. Help! - (2011-04-17)
  [3810] Reading files, and using factories to create vectors of objects from the data in C++ - (2012-07-21)
  [4326] Learning to program - comments, documentation and test code - (2014-11-22)
  [4374] Test driven development, and class design, from first principles (using C++) - (2014-12-30)
  [4559] When do I use the this keyword in C++? - (2015-10-29)

C051 - C and C based languages - C++ - General
  [2370] C++, Python, and other training - do we use an IDE - (2009-08-21)
  [2504] Learning to program in ... - (2009-11-15)
  [2536] All the Cs ... and Java too - (2009-12-13)
  [2577] Complete teaching example - C++, inheritance, polymorphism - (2010-01-15)
  [2763] Our C and C++ training course are on Open Source platforms - (2010-05-13)
  [3052] Getting your C++ program to run - (2010-11-15)
  [3129] Extra courses - C and C++ - (2011-01-12)
  [3155] Rake - a build system using code written in Ruby - (2011-02-03)
  [3250] C++ - how we teach the language and the concepts behind the language - (2011-04-17)
  [3587] C++ Courses - do I get official certification at the end of my Well House course? - (2012-01-20)
  [3809] Dwarf Exception Unwind Info - (2012-07-20)
  [4335] Flexible public courses - residential or commuting, programming newcomer or experienced, C or C++ - (2014-11-30)
  [4355] C++ in 2 days - (2014-12-18)


Back to
Fresh Paint for course presentation - including C++
Previous and next
or
Horse's mouth home
Forward to
Atworth Village Fete - on the Melksham Community Area Partnership stand
Some other Articles
Train Services - Melksham to Bath and Bristol (and airport)
Melksham Food and Drink Fair and Town Crier Competition
Transport in Wessex - today and into the future
Atworth Village Fete - on the Melksham Community Area Partnership stand
Further C++ material - view new or old
Fresh Paint for course presentation - including C++
What are C++ references? Why use them?
C course - final course example puts it all together
Local information for Melksham Hotel Guests
Catching up with an old friend
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

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

PAGE: http://www.wellho.net/mouth/2851_Fur ... r-old.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb