C++Introduction to C++Language FeatureLearn C++

How To Delete A Directory In C++ Builder On Windows

C++ has a lot of great libraries to operate on every case, on every item. We can create or delete directories by using System Commands that we explained before in this post, or we can use C++ standard library methods. In C++ Builder, we can use both of them and we can also use Disk And Directory Support Routines to create or remove directories. These methods are easy to remember, very…
Read more
C++Introduction to C++Language FeatureLearn C++

How To Check If A Directory On Windows Is Empty In C++?

C++ has a lot of great libraries to operate on every case, on every item. We can create or delete directories by using System Commands that we explained before in this post or we can use C++ standard library methods. In C++ Builder, we can use both of them and we can also use Disk And Directory Support Routines to create or remove directories or to get information about disks, directories, 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
C++Introduction to C++Language FeatureLearn C++

How To Use ForceDirectories Method To Create Folders In C++

ForceDirectories Method (System:SysUtils:ForceDirectories) is a SysUtils Method listed in Disk And Directory Support Routines that creates a new directory, including the creation of parent directories as needed. ForceDirectories creates a new directory as specified in Dir, which must be a fully-qualified pathname. If the directories given in the path do not yet exist, ForceDirectories attempts…
Read more