C++
As a developer, you're probably familiar with the concept of Design Patterns [1], but you may not have heard of the term anti-pattern. First coined by Andrew Koenig, the term anti-pattern or AntiPattern [2] refers to a commonly used programming practice that has proven to be ineffective,…
BlogIn this blog post, we will show an example of how to support dynamic language selection in an application using Qt. By "dynamic", I mean that the application can change the displayed language from within the application at run-time, rather than picking it up from the locale once on startup.Text or…
BlogMany programs need to accept command line options. For all but the simplest programs, the logic to validate and parse command line options can be significant. Support for handling this beyond what is provided by the standard C/C++ run-time library has been a long-missing Qt feature.While it may…
BlogIntroductionWith most C++ compilers now providing good support for the latest language standard, C++11, let's look at some of the new language features that are particularly useful for use in Qt programs. I won't cover all the new C++11 features; just some that in my experience are particularly…
BlogFeedback from our recent Qt for Beginners webinar series indicated a need for some basic tutorials for beginners. If you struggle with initially getting Qt set up for development with the Qt Creator IDE and a C++ compiler, this post is for you. I'll walk you step by step through the…
BlogclassDiagram Rectangle <-- `Graphical Application` GUI <-- `Graphical Application` Rectangle --> GUI Rectangle --> GeometricRectangle `Computational Geometry Application` --> GeometricRectangle class Rectangle { +draw() } class GeometricRectangle { +area() double } class `…
BlogMy last post, part 4 in the GPIO Programming series, showed some ways to program GPIO from Python. Python offers a number of advantages as a programming language including a short learning curve, no need for compilation, and the availability of many add-on modules. However, true compiled…
BlogYou want to integrate the latest large language model (LLM) into your application, but you face a dilemma: your code base is in C++ while machine learning (ML) frameworks predominantly use Python. We faced such a challenge recently and here is what we learned.First, a little background. Our…
BlogLarge files — I’m talking really large, say 8 gb — can be frustrating to download. How much fun it is to stare at the spinner icon or progress bar for more than a few seconds, let alone hours? When we first came up with an interactive storytelling tool called ViewPoint we butted up against this…
BlogCppCon 2018 September 23 - 29 Bellevue, WA ICS is exhibiting at CppCon 2018, the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks designed to help…
Basic pageCppCon 2017 September 24 - 29 Bellevue, WA ICS is exhibiting at CppCon 2017, the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks designed to help…
Basic pageIn this blog post I will be writing about some of my experiences with clang. What is clang? It is a front end to the LLVM compiler and is designed to compile C, C++, Objective-C, and Objective-C++ to machine code. The LLVM Project "is a collection of modular and reusable compiler and toolchain…
BlogWritten by Alan Ezust and Paul Ezust Foreword by Lars Knoll C++ is taught "the Qt Way". The source documents for our book are in a format that can be used to generate a textbook or instructor's slides. The book includes enough homework assignments and lectures for a 6 credit (full year) course.…
Basic page