A Linked List, composed with structure elements and it is a linear data structure, and each elements are stored at different memory locations. Linked lists are good to add, inserts, subtract, delete each elements from this list. A Simple linked list example is given before in this Learn to Code Simple Linked List in Modern C++ on Windows post.In present post we will explain how to sort two linked…
Sometimes it is needed to understand compilation platform during compile or acting and designing UI elements in accordance with the platform. In this post we would like to give some examples to check some options in application codes. The C++ compiler predefines certain…
If you are looking to a way to reliably determine whether C++ code is being compiled in 32 bits or 64 bits there is way to check in C++ code.
For a cross platform compilation (cross compiler environments like FireMonkey framework in C++ Builder) there is no single…
Easily Learn To Use Merge Sort Algorithm In C++ On Windows
February 26, 2021
Merge Sort Algorithm, in another efficient sorting algorithm that divides the input array into two parts and it calls itself recursively for the two parts. Then merges these two sorted parts.It is a Divide and Conquer algorithm. Merge function used to merge two parts of array. The merge(arr, l, m, r) is a key process that assumes that arr[l..m] and arr[m+1..r] are sorted and merges the two…
In C++, STL Standard Template Library has many algorithms for some operations like searching, counting, and manipulation of ranges and their elements. C++17 has a new feature that you can sort vectors with Parallel STL Algorithm. In C++ Builder, Vectors can be used and…
Tutorial: Easily Learn To Use optional In Modern C++ On Windows
February 11, 2021
Optional definition (std::optional) manages anoptionalcontained value, i.e. a value that may or may not be present. This class templatecomes with C++17 standard, it is used with CLANG and other C++ compilers which has this standard. A common use case…
C++ Builder is easy to operate on files on Windows. There are many methods to operate on files. Some of these methods are explained well in Windows File Operations in Modern C++. In this post we create a snippet to search and count a text from a text file.
unsigned int count_text(UnicodeString text, UnicodeString filename)
{
if(FileExists(filename))
{
UnicodeString us;
unsigned int…
Learn To Use Powerful Lambda Expressions In C++ On Windows
February 5, 2021
Lambda Expressionsare an expression that returns a function object, it comes with C++11 standards and used C++14, C++17, C++20 standards, it is well explainedhere. Lambda expressions are widely used in C++, C#, Groovy, Java, Python, Ruby languages too.
The…
Quickly Learn How To Use Canvas Drawing In C++ On Windows
January 11, 2021
In C++ Builder, it is easy to draw images on Bitmaps by using Canvas property and methods to draw, Canvas can be used on both VCL and FMX applications. Canvas provides an abstract drawing space for objects that must render their own images. TCanvas provides properties…
How To Import FANN Library For C++ Builder Windows Projects
December 26, 2020
This article is about to help you on implementing an Artificial Neural Network by using FANN Library developed by Steffen Nissen. It supportsmore than 20+ programming languages (http://leenissen.dk/fann/wp/language-bindings/) including Delphi and C++ Builder. You can reach full information anddocumentation here and you can download FANN source files from theirweb page…