C++CodeNews

C++Builder Optimization Guide with TwineCompile

In this post we’re going to be covering tips and tricks on how you can optimize your C++Builder projects to compile as fast as possible. While we’ll definitely be spending some time looking at optimizations geared for use with TwineCompile, some of these tricks apply to C++Builder in general. C++Builder and TwineCompile include a lot of functionality that’s designed to optimize compile…
Read more
News

C++Builder support for ISO C++ in version 10.4 Sydney

There have been several questions on forums and Stack Overflow about ISO C++ language support in the most recent release of C++Builder. This post includes links and information about C++Builder compilers that are built on top of the Clang open source compilers. The ISO C++…
News

Using C++17 Algorithms Library Parallel Sorting with C++Builder 10.4 Sydney for Win32 and Win64

C++Builder 10.4 Sydney supports the ISO C++17 standard in the Clang based compilers for Win32 and Win64. Part of the C++17 standard includes the Algorithms library that provides execution policies to support parallel operations. Below you will find a simple VCL example that uses the C++ std::vector and the algorithms library sort and parallel execution policy to sort random integers in the…
Read more
C++

C++ Compilers that ship with C++Builder 10.3 Rio

Embarcadero has RTM’d RAD Studio, Delphi and C++Builder 10.3 Rio (version 20.0) today. You can read the press releasehere. Included in the release are several C++ compilers. C++Builder 10.3 Rio (20.0) C++ Compilers BCC32 – the classic 32-bit windows…
C++

Convert CSV file to TFDMemTable format JSON file.

Author: h.mohri Convert fromCSVfile to “JSONfile” of “TFDMemTable format”. This program usesC++Builder 10.2 Tokyo Release 1. include #include <iostream> #include <fstream> #include <string> #include <codecvt> #include <FireDAC.Comp.Client.hpp> #include <FireDAC.Stan.StorageJSON.hpp> #include…
Read more
C++

C++ Builder Header Dependencies

Why should you care about header dependencies in C++? One reason is header dependencies can have an impact on building, refactoring, testing and on the structure of your software. And reducing header dependencies in C++ also reduces compile time dependencies – the…
C++

Try condition_variable using C++Builder(C++11).

Author: h.mohri std::condition_variable is a class for waiting for thread execution until the condition is satisfied.Used in combination with std::mutex. I tried the wait() function in std::condition_variable.This is combined withstd::unique_lock<std::mutex>. I…
C++

Visualize JSON using TTreeView

Author: h.mohri I tried a program that reads a JSON file in C++Builder VCL and displays it in TTreeView component. This project file is open to public from github. github.com/mojeld https://www.microsoft.com/store/productid/9PLPHK05PJF7 Place two TSpeedButton, TTreeView, TMemo, TActivityIndicator, TOpenDialog, TImageList. ImageList1 has an icon for displaying in…
Read more