C++Generic ProgrammingIntroduction to C++Language FeatureLearn C++

5 Simple Ways To Optimize C++ Arithmetic Operations

Optimization is one of the important parts of programming, but we should note that it is not as important in C++ in most cases for modern CPUs and GPUs today. Do not spend too much time optimizing if it is not needed. In this post, we will explain where you should optimize and 5 ways to optimize C++ arithmetic operations. In this post, you’ll get answers to these questions: What is…
Read more
C++Introduction to C++Language FeatureLearn C++

How To Set And Print Vector Members On Windows

Arrays and structs in C++ are explained well in our previous posts. These functions originally came from the C. In this post, we will explain another great feature of C++, The Vectors. Vectorsare dynamic arrays included in<vector> libraryin modern C++ and they can resize themselves automatically when a member of a vector is inserted or deleted. Vectors are the same…
Read more
C++Introduction to C++Language FeatureLearn C++

How To Generate A Random File Name on Windows

C++ Builder has a lot of specific methods in its SysUtils library that are included in the VCL and FMX libraries. Some of these are grouped as Path Manipulation Routines that allow users to edit, extract, get and set drive name, directory name, file name and file extensions. These methods are combined in Vcl.FileCtrl, System.IOUtils,  System.SysUtils libraries. These methods are easy to use and…
Read more
C++Introduction to C++Language FeatureLearn C++

How to use SameFileName method on Windows

C++ Builder has a lot of specific methods in its SysUtils library that are included in VCL and FMX libraries. Some of these are grouped as Path Manipulation Routines that allow a user to edit, extract, get and set drive name, directory name, file name, and file extensions. These methods are combined in the Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. These methods are easy to use…
Read more