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

How To Use Malloc() And Free() Functions In C/C++

In programs, all data and operations during runtime are stored in the memory of our computers, including IoT or other microdevices. This memory is generally a RAM (Random Access Memory) that allows data items to be read or written in almost the same amount of time irrespective of the physical location of data inside the memory. In this post, you’ll learn how to use memory in C and C++…
Read more
C++C++11C++14C++17Generic ProgrammingIntroduction to C++Learn C++

Learn Encoding And Decoding Data Files By Using Bit Shifting

The bit is the most basic unit of information in computing and digital communications. In real all operators are mainly based on Bit Operations which are also called Bitwise Operations. In computer programming, a Bitwise Operation operates on a bit string, a bit array, or a binary numeral (considered as a bit string) at the level of its individual bits, 1s, and 0s. The Bitwise Operation is…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

This Is How To Get A Substring of a Wide String in C++

Generally, as an introduction to C++, in addition to int, float, double there is another data type called wstring that we use for alphanumeric variables. In C++ there are several typedefs of common character types are provided: String types are defined in header <string>. wstringsare the string class for byte characters represented withwstringand alphanumeric characters…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

You Need To Know How To Correctly Remove Characters From C++ Strings

Modern C++ uses Strings, Wide Strings and Unicode Strings to support worldwide languages. Strings (std::string) uses char as the character type which means they are ASCII chars and they are an instantiation of the basic_string class template. In C++, there are several typedefs for common character types and one of them is std:string types that are defined in…
Read more