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

How to Get Disk Information in C++ on Windows?

How can I get disk size information in C++ Builder? How can I get disk free size information in C++ Builder? How can I calculate free percentage of a disk? Let’s answer these questions. C++ has a lot of great libraries to operate on files, folders and disks. We can create or delete directories by using System Commands that we explained before in this post or we can use C++ standard…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

How To Use Malloc() And Free() Functions In C/C++

How can we use memory in C and C++? How can I allocate something in memory? How can I manage memory dynamically? What kind of memory methods or functions are used for the Dynamic Memory Management? How can I use malloc()? How can I use free()? What is Static Memory Allocation? What is Dynamic Memory Allocation? What is difference between Static Memory Allocation and Dynamic Memory Allocation?
Read more
C++Introduction to C++Language FeatureLearn C++

How To Use C++ To Get And Set Current Directory On Windows

What does “current directory” mean? In C++ Builder, how can we can get current directory? How can I use GetCurrentDir method in C++ Builder? How can I use the GetCurrentDirectory Method in C++ Builder? Let’s answer your questions. C++ Builder has a lot of specific methods in its SysUtils library that is included in vcl and fmx libraries. Some of these are grouped as a Path…
Read more
C++Language FeatureLearn C++

How To Change A File Extension On Windows Using C+

C++ Builder has specificPath Manipulation Routinesthat allows user to edit, extract, get and set drive name, directory name, file name, file extensions, .. etc and these methods are combined inVcl.FileCtrl, System.IOUtils, System.SysUtilslibraries. These path manipulation methods are easy to use and easy to get or set file path strings in that operating system. These can be…
Read more
en_USEnglish