The math library <math.h> in C language is designed to be used in mathematical operations. From the first C language to the latest C++ Builder 12, there have been many changes and improvements in both hardware and software. We were able to use this math.h library in C++ applications. After the C++17 standard, this library is modernized in the cmath library, Functions are declared…
What Are The CMath Mathematical Special Functions in Modern C++?
November 29, 2023
In C++11 and C++14, we were able to use this math.h library in C++ applications. After the C++17 standard, this library modernized math operations with the cmath library. Functions are declared in <cmath> header. For compatibility reasons the <math.h> is an optional…
What Is The Unrestricted Unions Feature In Modern C++?
August 7, 2023
Unions are rarely used but are another important data type alternative to structs and classes in modern C++ development. Unions are used to define variables that share storage space. The C++11 standard loosens up the restriction regarding members of unions, and in this…
What Is A Virtual Function Specifier In Modern C++?
July 28, 2023
In modern C++ software, a virtual function is a function in a base class or struct that can be redefined in derived classes or structs. They are member functions whose behavior can be overridden in derived classes. Thevirtual function specifier is the ‘virtual’ specifier to declare avirtualfunction in a base class. In this post, we explain how we can use virtual…
What is a range-based for loop in modern C++?
July 27, 2023
In C++, the for loops are one of the great features of C and C++ language that has many options to break, continue, or iterate in a loop. In modern C++, there is a range-based for loop that makes it simple to iterate through a variable type that has members (i.e.
Learn How To Use The Final Specifier In Modern C++
July 20, 2023
Modern C++ has many additions compared to the original C++ standard. Regarding virtual overrides, C++11 tends to tighten the rules, to detect some problems that often arise. To achieve this goal C++11 introduces two new contextual keywords, the final and the override. The…
Five Simple Examples Of C++ FMX Applications
July 19, 2023
TheC++ Builder CE Community Edition is afreeversion of professional C++ Builder that you can develop GUI based desktop and mobile applications in C++. In this post, we will give you five simple C++ FMX applications as examples that you can compile with C++ Builder 11 CE.
The latest C++ Builder 11 CE was released in April 2023. If you are a start-up developer, student…
Five Simple Examples Of C++ VCL Applications
July 18, 2023
TheC++ Builder CE Community Edition is afreeversion of professional C++ Builder that you can develop GUI based desktop and mobile applications in C++. In this post, we will give you five simple C++ console examples to help you understand how C++ Builder 11…
Five Simple C++ Console Examples for Beginners
July 17, 2023
The C++ Builder CE Community Edition is a free version of professional C++ Builder that you can develop GUI based desktop and mobile applications in C++. In this post, we will give you five simple C++ console examples for beginners you can run using C++ Builder 11…
What Is An Extended sizeof In Modern C++?
July 14, 2023
In modern programming, the size of any data is very important, while the programmers are trying to minimize data types or stream packages, global data transfer is increasing by the requests of new technologies. Thus, we need to know each data type in programming. The sizeof() function is very useful to get the size of variables in bytes. C++11 extends the functionality of sizeof function so that…