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
C++C++11C++14C++17Code SnippetIntroduction to C++Language FeatureLearn C++

Learn How To Build A Modern C++ "Hello World" Example For Windows

If you are a beginner “Hello World” examples are good to understand feature of that programming language. It is good to understand how to edit text, how to write in its format, how to compile and link, how to debug and execute, how to deploy or release. This example below is a modern “Hello World” example on Windows which runs with C++ Builder. Modern applications has GUI…
Read more
C++11C++14C++17Learn C++Numerics

Introduction to Random Number Generation in Modern C++

Every implementation of the C++ Standard Library like one included to Embarcadero RAD Studio C++ compilers provides two ways for (pseudo-)random numbers generation: old-fashioned facilities from <cstdlib> and modern facilities provided by <random>. Facilities from <cstdlib> There are two very simple functions provided by the C random library: std::srand() and std::rand().
Read more