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

How To Use GetFileName On A Path String In A C++ App

How can I get a file name from a path string in a C++ app using C++ Builder? Can I learn what is the GetFileName Method? What is the syntax of the GetFileName Method? Is there an example of using the GetFileName Method? C++ Builder has a lot of specific methods in its SysUtils and IOUtils library that are included in VCL and FMX libraries. Some of these are grouped as path manipulation…
Read more
C++Introduction to C++Language FeatureLearn C++

How To Understand File And Folder Paths In Programming

In this post, you’ll get answers to these questions: What is the difference between the Dir, Directory and the Folder terms?What is a Drive? What is a Directory?What is a Path?What does Full Path mean?What does Absolute Path mean?What is the Current Path?What is a Short Path?What does Relative Path mean? By learning how to understand file and folder paths in programming, it will help you…
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