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

How to Use Basic String and Unicode String in Modern C++

In programming, one of the most used variable types are text strings, and they are sometimes really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. Most programming languages have issues when storing texts and letters. In C++, there is very old well-known string type (arrays of chars) and modern types…
Read more
C++C++11C++14C++17Learn C++

What You Need To Know About std::basic_string In Modern C++

In this post, you’ll learn what a basic string is in modern C++ and how to use it. Is std::basic string equivalent to std::string? By learning more about std::basic string, it will help you to easily build C++ applications using the C++ IDE. What is basic_string? The basic_string (std::basic_string and std::pmr::basic_string) is a class template that stores and manipulates sequences…
Read more