Wednesday, 4 March 2020

How to Attach Notes to TreeView Branches in Delphi

Here's my latest video on programming a collapsible outliner using Delphi. In this one, I associate text notes with the branches (nodes) of a TreeView.

To watch this series of videos from the start, go to the playlist:

Sunday, 1 March 2020

Delphi is 25! And Now I Have a Book…

I’ve been programming in Delphi for over 25 years. What? Can that really be true? It doesn’t seem that long but Delphi’s just had its 25th birthday so it really must be. It was launched in 1995 and I was using the pre-release beta some months before that. I wrote the review of Delphi for PC Plus Magazine and for more than ten years after that I wrote the monthly Delphi programming columns for the same magazine.
Delphi was the successor to Borland’s hugely successful DOS-based Turbo Pascal and its less successful Windows Pascal (even I can hardly remember that – I think it was called ‘Borland Pascal With Objects’ or something equally unmemorable). At the time, Delphi was, in my view, far the best visual (drag-and-drop, design-and-code) environment for Windows. Its only real competition was Microsoft’s Visual Basic. The trouble is that no matter how visual you make Basic, it’s still Basic. Whereas Delphi used a very nice version of Pascal that had a reasonably modular unit-based system, good Object Orientation and also had low-level features for anyone who might be missing C.

This is the latest in a series of little programming books. Other titles include:

  • The Little Book Of C
  • The Little Book Of C#
  • The Little Book Of Ruby
  • The Little Book Of Pointers
  • The Little Book Of Recursion
  • The Little Book Of Adventure Game Programming

Anyway, Delphi is still going strong. It’s owned by Embarcadero these days and you can get a free copy from their web site. To celebrate Delphi’s 25th birthday, I’ve just released a book for new or intermediate Delphi programmers. It’s called The Little Book Of Delphi and it’s available in paperback or as a Kindle eBook from Amazon.

The Little Book Of Delphi covers:

  • Fundamentals of Delphi
  • The Object Pascal language 
  • Object Orientation
  • Variables, Types, Constants
  • Operators and Tests
  • for loops and while loops
  • Procedures and Functions 
  • Parameters and Arguments
  • Arrays and Lists
  • String Operations
  • Case Statements
  • User-defined Types
  • Constructors and Methods
  • Creating and Freeing Objects
  • Inheritance and Encapsulation
  • Virtual and Overridden Methods
  • File-handling
  • Text files and Binary files
  • Streaming and Serialization
  • Errors and Exceptions
  • ...and much more

Here are the links:
Amazon (US)

Amazon (UK)

Monday, 24 February 2020

Ruby Instances and Instance Variables

What the heck is an 'instance' and why does it have its own variables? My latest YouTube video for Ruby programmers explains all...

Monday, 17 February 2020

Program a Collapsible Outliner in Delphi with Object Pascal

Collapsible Outliners are fantastically useful things. And they aren’t all that difficult to program. I have a short free course on YouTube that shows you how to create an outliner using the free Delphi Community Edition from Embarcadero and the Object Pascal language.

This free course shows you how to add branches and sub-branches to an outline and even how to drag and drop branches from one place (one ‘node’) to another in the outline ‘tree’. Later in the series I’ll show how to add formatted notes to branches so that you can create a brainstorming tool. This is a fun and useful project and a great way to learn to program in Delphi.

Delphi, incidentally is 25 years old this week. How time flies! I was one of the beta-testers for Delphi 1 and for over ten years I wrote the Delphi programming column for ‘PC Plus’ magazine in the UK. Object Pascal is a really nice language and Delphi is an excellent Windows-based IDE.

Incidentally, even if you aren’t interested in Delphi, bear in mind that I have lots more free programming lessons on YouTube. At the moment, I’m releasing one new video every week on topics ranging from Ruby programming to writing an adventure game in Java.

These free courses can all be found in my playlists here:

To make sure you never miss another video, be sure to subscribe to my YouTube channel:

Sunday, 7 July 2019

Learn To Program C, Pointers and Recursion

I’m pleased to announce that Bitwise Courses is now partnered with Bitwise Books! We’ve been working away at this for most of the last year. Our aim is to publish a range of tightly-focused programming books that explain just what you really need to know without any padding.

The series is called The Little Book Of… and our first three titles are:

The Little Book Of C Programming

The Little Book Of Pointers

The Little Book Of Recursion

In addition, we have created a series of free programming guides called A Really Simple Guide To… These include A Really Simple Guide To Object Orientation, C IDEs and Pointers. To can get the guides delivered straight to your inbox (no purchase necessary) from the Bitwise Books site.

We’ll be announcing more Really Simple Guides and Little Books Of (various programming topics) soon.

Thursday, 2 November 2017

Constructors in C#

Before you can use an object you have to create it. That is what this video from my C# course explains...

My course ‘Learn C# Programming (in ten easy steps)’ was first created in 2012 but now, in 2017, it has been completely remade. Every single video has been re-done and no less than 86 new video lessons have been added. What’s more, students can also download the entire version 1 of the course (almost 4 more hours of video) as an added bonus. This is what the course contains:

  • 117 video lessons
  • 7 hours, 7 minutes of video
  • 32 sample projects
  • 10 quizzes
  • 89-pages of pdf documentation
  • PLUS: The entire version 1 course as a free download!

The regular price for this course is $145. But use the link below to sign up for just $35 (valid only until the end of 2017, so don’t wait!)

Wednesday, 1 November 2017

Pointers and addresses in C

What exactly is a pointer anyway? And how does it relate to an address?

The video below is taken from my online course, Advanced C Programming: Pointers. Save 63% by clicking this link to subscribe to the course for just $35 (regular price is $95):