C++C++11C++14C++17C++20Learn C++Syntax

Learn How To Use The Override Specifier In Modern C++

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 specifiers. Theoverride specifieris used to redefine the base class function in a derived class with the same signature…
Read more
C++C++11C++14C++17ComponentsIntroduction to C++Language FeatureLearn C++

Five Simple Examples Of C++ VCL Applications

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 CE runs applications. The latest C++ Builder 11 CE was released in April 2023. If you are a start-up developer…
Read more
C++C++11C++14C++17C++20Learn C++Syntax

What Is The Inline Namespace Feature In Modern C++?

In modern C++, namespaces are a kind of library or framework. They are useful to hold the same name of classes, methods, and other entities in different namespaces. C++11 standard and other standards above, allow the inline keyword in a namespace definition and in this post, we explain how to use inline namespaces in modern C++. What is a namespace in modern C++? Namespaces in C++ allow…
Read more
C++C++11C++14C++17Learn C++Syntax

What Is An Assignment Operator In C++?

One of the most commonly used features of C++ software, in common with many programming languages, are assignment operators. These take the form of copy assignment and move assignment operators. In C++, a copy assignment operator can be used with “operator=” to create a new object from an existing one. In this post, we explain assignment operators with copy assignment operator examples…
Read more