👋 Welcome to QbProg’s C++ and Geometry blog
Welcome to my blog! Here I will publish some articles and news about computational geometry (CAD and CAM) and c++, mostly about integrations and advanced techniques.
-
Updated Qt/Sciter integration
I just pushed (@ https://github.com/qbprog/qtsciter) an update that supports Sciter 6.x (which changed a few integration options).Leggi di più...
-
A refresh of my blog
I moved the blog here on https://qbprog.github.io and removed some of the old content.Leggi di più...
-
C++/C# interop for native applications using WinRT
When you search C/C++ C# interop on google you find a lot of articles about it, but many of them (if not all) are focused on P/Invoke interop, which in the end is a “C” style interop, not a C++ one.Leggi di più...
-
Qt sciter integration
Just for information, I recently published a small repository containing a Qt 6.x integration for the Sciter component.Leggi di più...
-
Fun with composition and interfaces
As one of most important programming concepts is code reuse, let’s see some nice ways to use C++ templates and make code-reuse simple and efficient. Here it follows a bunch of techniques that have proven useful in my real life programming.Leggi di più...
-
Unicode and your application (5 of 5)
Here it comes the last installment on this series: a quick discussion on output files, then a resume on the possible choices using the C++ language.Leggi di più...
-
Unicode and your application : part 4 example
I just wrote a simple example with Qt on how to read (and print-out) a text file. As I suggested in part 4, the program let the user choose the default encoding and eventually auto-detect it. In this github repository I added the unicat application, which is a console application that can print a single text file. You can download...Leggi di più...
-
Unicode and your application (4 of n) : input files
I was already writing part 4 about choosing a good internal string encoding. Then I realized that a piece was missing: as a reader, I would like to know about all of the issues before making such a choice. So here it comes the most interesting part of all these disquisitions: input and output.Leggi di più...
-
Unicode and your application (3 of n)
Let’s go into the actual Unicode support among different compilers and systems. In these examples I mainly mention Visual C++ and GCC, just because I have them by hand. I’m interested in doing a Clang+MAC comparison too,but I don’t have such a system avaiable. Comments are welcome in this regard :)Leggi di più...
-
Unicode and your application (2 of n)
In this part I will write some speculations about the C++ string encodings and the possibly required conversions.Leggi di più...
-
Unicode and your application (1 of n)
If you look around in the open source ecosystem, and also in the non-opensource one, you will find a good amount of applications that don’t support unicode correctly.Leggi di più...