C++ComponentsLanguage FeatureLearn C++

How To Make Properties For A New FMX Component In The C++ IDE

How can I add custom properties to my new component in an FMX application? What is the syntax for the Component property? How can I add a visual property to my own custom FireMonkey component that can be read or written by the Object Inspector? How can I create a property that can be edited via the Object Inspector in the C++ IDE at design time and via coding at run time? What is the __published…
Read more
C++Learn C++

This Is How to Use dynamic_cast in C++

What is casting in C++? What is a cast operator? What types of casting can be used in C++? What is dynamic_cast in C++? How can I use dynamic_cast in C++? C++ is a fast and powerful programming language and excels at all sorts of different operations, such as manipulating data, operations with pointers, operations between classes, etc. In C++, both structs and classes can be used with…
Read more
C++Learn C++

What Is The Right Way To Use reinterpret_cast In C++?

What is casting in C++? What is a cast operator? What types of casting can be used in a C++ app? What is reinterpret_cast in C++? How can I use reinterpret_cast in C++? C++ is a fast and powerful programming language suitable for all types of purposes. In this post, we will explain how to use reinterpret_cast in C++. Before this, let’s recap what is meant by ‘casting’ in…
Read more