C++11C++14C++17Learn C++

Switch Statement in Modern C++

The C++ language provides the switch statement which can be used to replace the set of if statements (see If Statements in Modern C++). First of all, let’s define the enum type Traffic_light_color as follows: enum class Traffic_light_color { red, yellow, green…
C++Learn C++Videos

Learn C++ With Building an Intuition for Composition by Sy Brand (CPPCon 2020) Video

This video is for you if you’re tired of reading posts about “monads” and “endofunctors” that does not give you an idea of how they can actually support and improve your C++ programming. In C++, functions and data composition are becoming more relevant because of features such as ranges, continuable features, and new techniques for error handling. This session will…
Read more
C++Learn C++Videos

Dev-C++ Download And Installation

Welcome to new Embarcadero Dev-C++ video series. In this series, I will introduce you the new Embarcadero Dev-C++. In this tutorial, you learn about Embarcadero Dev-C++ and its installation. Embarcadero Dev-C++ is a new and improved fork (sponsored by Embarcadero) of…
C++C++11C++14C++17Learn C++

Learn About Delimiters (Tokens) in Modern C++ On Windows

Delimiters (token term also used) are characters which separates strings between each of them. For example spaces, comas and other symbols can be used as a delimiter char to separate strings between them . Normaly in C++ strtok() were being used in C++, that is used with chars. In Modern C++, strings are now UnicodeStrings, TStringlists has some property to extract strings. If you are new to…
Read more
C++Learn C++Videos

Learn C++ With C++20 STL Features: One Year of Development on GitHub by Stephan T. Lavavej (CPPCon 2020) Video

This video discusses the examples of C++20 features: span that makes it simpler to work with contiguous sequences, constexpr algorithms that make it possible to check if search tables are sorted at compiled time that eventually replaces the erase-move idiom, integer comparison features that make it easier to write correct code without thinking about the correct code. If you want to track progress…
Read more