C++C++17Introduction to C++Language FeatureLearn C++

This Is How To Use Time And Its Properties In C++ Software

How can we use Time when writing C++ software? How can we obtain local time or UTC time in our C++ apps? How can we get each property of a time such hours, mins, seconds? In programming we have two important parameters that we use, which are Date and Time properties. The date and time properties are obtained from a timer or time module such as an RTC DS3231 module which is used on IoTs. The…
Read more
C++Learn C++

How To Use static_cast In C++ Software

What is a cast operator? What types of casting can be used in C++? What is a static_cast in C++? How can I use static_cast in C++ Software? In C++, a cast operator is anUnary Operatorwhich forces one data type to be converted into another data type.In general, C++ supports four types of casting: Static CastDynamic CastConst CastReinterpret Cast What is a Static Cast? In…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

Learn About Pure Virtual Destructors In C++ App Classes

If you construct an object, sometimes you need operations to deconstruct. Destructors not only used in classes but also used with struct and union data types. Do you want to learn what a Pure Virtual Destructor is in a C++ App, or what kind of methods we have that we can declare and use a pure virtual destructor? In this post, we will try to explain how to use Pure Virtual Destructor in C++…
Read more
C++ComponentsLanguage FeatureLearn C++

This Is How To Use Shape Components In A Windows C++ App

C++ Builder is a great IDE which comes with the FireMonkey UI framework. While Firemonkey is a powerful multi-platform UI framework which lets you create apps which work on desktop as well as mobile phones and tablets you can also use it to add many shape types to your C++ app on Windows. TShape is the ancestor class to most other classes defined in the Objects unit. It defines the common…
Read more