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
C++Introduction to C++Language FeatureLearn C++

How To Check If a Directory Really Exists 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 allows user to edit, extract, get and set drive name, directory name, file name, file extensions. .. etc, and these methods are combined in Vcl.FileCtrl, System.IOUtils,  System.SysUtils libraries. These all methods are…
Read more
C++Game DevelopmentLanguage FeatureLearn C++

Learn To Simulate Realistic 2D Ball Physics in C++ Builder

In this post, we will explain how we can simulate realistic 2D ball physics in an easy and accessible way. Let’s assume that we look from an X-Y view, and Y is the height which means Y=0 is the ground. How we can simulate ball physics in a given ball velocity and gravity in that environment. C++ Builder is a great compiler and IDE with FireMonkey and VCL frameworks. It has compilers for…
Read more
C++C++17Introduction to C++Learn C++

Learn about Deleted Implicitly-Declared Copy Constructor in C++

Do you want to know what is Deleted Implicitly Declared Copy Constructor ? Implicitly-Declared Copy Constructor helps you to do this, here is the full post; The Constructor in C++ is a function, a method in the class, but it is a ‘special method’ that is automatically called when an object of a class is created. We don’t need to call this function. Whenever a new object of a class is…
Read more