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…
Learn About Implicitly-Defined Copy Constructor
June 30, 2021
Do you want to define a copy constructor in a implicit way ? Implicitly-Defined Copy Constructor helps you to do this, here is the full post;
The Constructorin C++ is a function, a method in the class, but it is a ‘special method’ that is automatically…
Learn about Eligible Default Constructor in C++
June 29, 2021
Do you want to learn what is Eligible Default Constructor or what kind of methods we have that we can declare and use Eligible default constructors? In this post, we will try to explain the Eligible Default Constructor with examples.The Constructorin C++ is a function…
Learn About the Main Function in C++
April 19, 2021
The Main Functionis the main part of an application coded in C++, it is the designated entry point to a program that is executed in an operating system (on Windows, iOS, Mac-OS, Android, Linux etc.). Every C++ application program has a main function which starts all application statements, and functions. We can create C++ files without the main function and we can use them as a library…