Lambda Expressions allow users to write an inline expression that can be used for short snippets of code which are not going to be reused and don’t require naming in your C++ app. The Lambda Expression construct is introduced in C++ 11 and further developed in the C++17 and C++20 standards. Because of its syntax and definition with [ ] and ( ) and { }, sometimes it is hard to understand or…
Lambda Expressions allow users to write an inline expression that can be used for short snippets of code in your C++ app which are not going to be reused and don’t require naming. The Lambda Expression construct is introduced in C++ 11 and further developed in the…
How To Set Runtime Process Priority On Windows In A C++ App
November 11, 2021
The C++ Builder VCL library has a lot of Windows-specific libraries for controlling the runtime behavior of our applications. We can easily change the process priority of the current task in thread/core. In this post, you’ll get answers to these questions:
How I set…
Learn To Use The Multi-Talented Printf() Function In C++
July 21, 2021
The Printf function is one of the oldest and most powerful functions that we use to print out strings or that we use to print out to a stream or to another string. Do you want to learn the basics of printf() function? Who says you can’t use printf() in Modern C++? Who says printf() is oldish ? 🙂Before we used cout cin in C++ (actually I don’t use them in my Modern Apps), we were…
In C++ Programming Language, the information is stored with the various data types like character, wide character, integer, floating point, double floating point, boolean etc.When coding in any programming language, we need to use various variables to store various…
Easily Learn About Using Input And Output In C++ Programming
March 14, 2021
In general a developed applications, during it’s runtime, it do 3 actions; it gets inputs, do some logical algorithms and puts you outputs. If you read about Structure of C++ Programming Language, it is good to learn how input and output functions are used.
How do I…
Learn About Handling Android32 Permissions In C++
December 16, 2020
Mobile android applications developed in C++ Builder requires permissions to use some part of mobile devices (sensors, camera etc..). These should be allowed by the user. an these permissions can be checked over the project options from Project > Options > Application > Uses Permissions section. Some of these permissions were listed in this document…
Windows File Operations in Modern C++
December 5, 2020
There are a lot ways to operate on files in C and C++. In C programming is enough to use FILE, fopen(), fclose() operations. In C++ FileOpen().was enough to operate before. In Modern C++ because of multiplatform operating systems, global languages and for the other benefits…
Unicode Strings in C++ On Windows
December 1, 2020
Unicode standard for UnicodeString provides a unique number for every character (8, 16 or 32 bits) more than ASCII (8 bits) characters. UnicodeStrings are being used widely because of support to languages world wide and emojis. In modern C++ nowadays there are two types…
If Statements In Modern C++
November 26, 2020
There are two kinds of if statements in modern C++: runtime if and compile-time if constexpr.
Runtime if looks like:
if (condition) statement-true
if (condition) statement-true else statement-false
In both forms of above if the result of condition yields to true, then statement-true is executed. Otherwise (in the second form of above) the statement-false is…