In the last 40 years C++ has earned, and maintained, a reputation as one of the most efficient programming languages. C++ is still hugely popular, often in the top 3 of any lists of popular programming languages and is used widely across a wide array of operating systems. Choosing the right programming language and IDE (we call them C++ tools) are very important in the early stages of learning to…
C++11 brings a lot of improvements over C++98. In C++98, two consecutive right-angle brackets (>>) give an error, and these constructions are treated according to the C++11 standard which means CLANG compilers no longer generate an error about right angle brackets. In this…
C++11 brings a lot of improvements and I think one of the most important features were the Unicode Character Types and Literals that allow more support for strings in different languages globally. C++11 introduced a new character type to manipulate Unicode character…
How To Use C++ Standards In C++ Compiler Options
May 2, 2023
C++ is a very decent programming language that has a very strong compiler supported by a big community on a range of different platforms. The C++ language definitions, syntax, and functionality are organized into different standards. Those standards are usually named after the year the standard was adopted such as 1998 for C++98, 2011 for4 C++11, 2014 for C++14,and 2017 for C++17. One of the…
Modern C++ is really amazing with a lot of great features of programming. One of the features of Modern C++ is a Defaulted Function or in another term Defaulted Method of classes that is a function that contains =default; in its prototype. Defaulted functions are a feature…
Where To Find The C++ Standards In 2023?
April 27, 2023
C++ is a well-established programming language that is supported by a big community for many different computing hardware platforms. The language has a set of standards generally named after the approximate year the standard was adopted, such as C++98, C++11, C++14, C++17…
What Are The Macros For The Integer Constants In Modern C++
April 26, 2023
In C++ programming, there are macros for the fixed-width integer type that allow you to obtain minimum and maximum possible values. In this post, we explain these macros for integer constants in modern C++.
What are the macros for minimum signed integer constants in modern C++?
Here are the macros for minimum signed integer constants in general form in C++:
Integer Constant…
What Are Fixed Width Integer Types In Modern C++
April 25, 2023
In C++ development, integer variables can be decimal (base 10), octal (base 8) or hexadecimal (base 16). In addition to int, short int, long int, and long long int, there are fixed width integer types. Fixed-width integers are defined types with a fixed number of bits.
What Are Function Macros For Integer Constants?
April 24, 2023
In C++ coding, there are function macros for the fixed-width integer type that expands to an integer constant expression having the value specified by its argument. Their type is the promoted type of std::int_least8_t, std::int_least16_t, std::int_least32_t, and…
The C++ Programming Language is huge, it may have millions and millions of keywords, and commands with every new library or feature addition. In programming, it is hard to memorize all of these keywords. Sometimes when we are using some keywords, we may have some questions about them, because we want to learn and memorize them logically. If you are using C or C++, we may have these questions…