C++C++11C++14C++17Introduction to C++Learn C++Syntax

Learn To Use The Multi-Talented Printf() Function In C++

The Printf function is one of the oldest and most powerful function 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 basics of printf() function? Who says you can’t use printf() in Modern C++? Who says printf() is oldish ? 🙂Before we use cout cin in C++ (actually I don’t use them in my Modern Apps), we were using…
Read more
C++C++11C++14C++17Code SnippetLanguage FeatureLearn C++Syntax

Learn About Handling Android32 Permissions In C++

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…
Read more
C++17Introduction to C++Language FeatureLearn C++Syntax

If Statements In Modern C++

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…
Read more