Adopt the latest standards
C++ is a great programming language with it’s standards dating from 1998. The C++ standard is not about teaching how to use C++; it is a formal and very detailed technical document intended primarily for people writing C++ compilers and standard library implementation. This allows developers to code knowing that their code will work on other toolchains implementing…
LearnCPlusPlus.org :: Mathematics, Strings, For Loops, Operators in C++ ; TwineCompile, JIT Compilation, Background Threads
April 26, 2021
Hello C++ Builder Developers,
Over on the LearnCPlusPlus.org website, we’re continuing to add to the “Introduction to C++” post series for beginners as well as more advanced posts for more experienced professionals both here and on our other…
Learn To Use ExchangeRates API With REST In C++ Builder
April 17, 2021
Do you want to add live exchange rates features to your applications? You can easily get live exchange rates in our C++ Builder and Delphi applications by using ExchangeRates API from theexchangeratesapi.iothat is free for 250 requests monthly. It is very easy to…
ISOCpp.org ran a C++ developer survey “lite” for the past week. You can find the PDF survey results on the site at https://isocpp.org/blog/2021/04/results-summary-2021-annual-cpp-developer-survey-lite
More than 1800 C++ developers responded to the survey. Here are a few items that I pulled out of the PDF results.
Almost 90% of respondents use C++ for work.
Over 50% of developers have…
C++ Lambda Expressions for Beginners
April 13, 2021
A lambda expression defines an anonymous function or a closure at the point where it is used. You can think of a lambda expression as an unnamed function (that’s why it’s called “anonymous”). Lambda expressions make code cleaner and more concise, and allow you to see…
In VCL, of course, you can use Real PNG files with the TPngImage class. With TPngImage class, you can load and manipulate PNG graphics. But there is another option to use PNG image files with PNGComponents.
PNGComponents is a set of components that allows you to easily…
High-Performance C++ NMEA Parser GPS Interface
March 30, 2021
Most GPS modules have a serial port, which makes them excellent to connect to a microcontroller or computer. It is common for the microcontroller to parse the NMEA data. Parsing is just removing the pieces of data from the NMEA sentence so the microcontroller can do something useful with the data.
NMEA is an acronym for the National Marine Electronics Association. Why do you need to parse…
Using a Common C++ Library with C++Builder and TwineCompile
March 23, 2021
One of the many big advantages to using C++ for applications and projects is the access one has to the vast library of C++ libraries and frameworks available. Basically, there is a C++ library for anything, and if there isn’t, there is definitely a C library for…
What is serial communication?
Serial communication is a simple means of sending data to long distances quickly and reliably. Serial communication is an increasingly important aspect of embedded systems. A good understanding is essential to the aspiring designer. There are…
There is no such thing as a good hash function for universal hashes. Depending on the context different criteria determine the quality of a hash. To test your hash function using data drawn from the same distribution that you expect it works on. When looking at a hash function on 64-bit longs, the default hash function is excellent if the input values are drawn uniformly from all possible long…