CodeDelphiHow-To'sTech Partner

How to View Digits of Pi in Real-Time with Delphi for Pi Day 2024

Here’s a guest blog post by Jim McKeeth, Embarcadero MVP and US Director of GDK Software. To celebrate the recent π day 2024 with a Delphi flavor I revisited the previous sample I made with Rudy’s Big Numbers library adding the functionality to view the digits of π in real time as they are being generated. Previously it would generate any number of digits you wanted, but you could only…
Read more
C++CodeRAD Studio

What Are The C++ 17 Random Number Generators

Hello developers, I hope you are all happy and well. This week we have new C++ posts about modern random generators in modern programming today. Since C++11, in addition to rand() and std::rand(), we have new random number generators. These are called Mersenne Twister random generators; mt19937 (std::mt19937) for 32-bit applications and mt19937_64 (std::mt19937_64) for 64-bit applications. In the…
Read more
C++RAD Studio

Let's Learn Modern C++ With C++ Builder 12 In Examples

Hello everyone, this week we have new C++ posts that can be compiled with C++ Builder 12 bcc64x or any compiler that supports C++17 standard and beyond. In this week’s posts, we explain what a copy assignment operator is and its types in usage with many C++ examples. In the other post, we explain the type-safe union, std::variant with examples. In the last post that we picked, we…
Read more
C++CodeRAD Studio

Useful C++ 17 Features That You Should Learn

Hello Developers, in my opinion, the C++17 standard is one of the biggest milestones in the history of C++ development. It is amazing with a lot of new features, and in this weekly round post, we have another three important features that you should learn. We explain the new optional class template, we teach you how to use alias templates for traits and we explain what std::any is and how…
Read more