C++

Getting Started with C++ programming - the videos, articles, examples and docs

It is great to hear from developers who want to learn a new programming language. Some of you may know that I am a programming language and compiler junkie and have been one for the past 46 years ever since I wrote my first program in Fortran. When I receive an email from a developer asking advice about how to get started with C++ programming, I always ask a few questions about their computer and…
Read more
C++

Using C++11 Lambda functions with the C++Builder Parallel Programming Library

With the introduction of the Parallel Programming Library (PPL) and Embarcadero C++Builder support for C++11 lambda functions on the Win32, Win64, iOS and Android platforms, you can now use the two in combination in your applications. Below you will find C++Builder example source code that uses lambda functions with the Parallel For, Tasks and Futures. If you use C++11 features (including lamda…
Read more
C++

How to best load an image from a URL using TWebBrowser when targeting multiple devices

In this snippet, I placed a TWebBrowser control onto my FireMonkey form and aligned it to the client. I then set up the following OnFormCreate event to load a web image into the browser control. I also restricted the image size to the screen dimensions of the device. procedure TWebBrowserImageDemo.FormCreate(Sender: TObject); const cHtmlString = '<img src=%s width=100%%…
Read more