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++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 Check Characters of File Names and Paths on Windows

C++ Builder has a lot of specific methods in its SysUtils library included in 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 easy to…
Read more