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

What You Need To Learn About Using Bits In C++ Software

How can we print numbers in binary form? How can we set a bit in an integer? How we can set, clear, or toggle bits (binary digits) of a number? How can we change the nth bit of a number? In this post, we will answer these questions and use them in our own C++ software. First let’s remind ourselves where bits come from. A brief background to CPU architecture The construction, size…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

Learn to Use Date and Its Properties in Your C++ App

How can we use Date in a C++ App? In programming we have two important parameters that we frequently use – the Date and Time properties. The Date and Time property is obtained from a timer or time module which is a physical device on the hardware you are using. For example, a real-time clock (RTC) DS3231 module is used to count and ‘remember’ the correct time on IoTs. Other…
Read more
Artificial Intelligence TechC++C++11C++14C++17

What Is A Gaussian Activation Function In A Neural Network?

What is Gaussian Activation Function in Neural Networks? How can we use the Gaussian Function in ANN? Where can we use Gaussian Function in AI technologies? How can I use these functions in my C++ app? Let’s recap the activation function and explain these terms. What is an activation function in an artificial neural network (ANN)? An Activation Function ( phi() ) also called a…
Read more
C++C++11C++14Learn C++

This Is How To Convert u16string To A wstring In C++

What do we mean by “wide string” in a C++ app? What is a u16string? How can I convert a u16string to a wstring? Let’s answer these questions. What is a wstring? Wide strings are the string class for ‘wide’ characters represented by wstring. Alphanumeric characters are stored and displayed in string form. In other words wstring stores alphanumeric text with 2 or…
Read more