Comparison of Features Across C++ Versions from C++98 to C++23

Comparison of Features Across C++ Versions from C++98 to C++23

Core Feature List of Major C++ Versions (Only the most critical changes in the standard are listed for quick reference): C++98 / C++03 (C++98 is the first ISO standard, C++03 is a technical revision, essentially the same) • Standard Template Library (STL): vector, list, map, algorithm, etc. • Exception handling <span>try / catch</span> • Namespaces … Read more

C++ Learning Manual – New Features 46 – Lambda Expressions

C++ Learning Manual - New Features 46 - Lambda Expressions

In the world of C++ programming, we have always pursued more concise, flexible, and powerful expressions. The introduction of Lambda expressions is one of the significant gifts brought to us by C++11. It has fundamentally changed the way we define and use function objects, making the code more elegant and efficient. What are Lambda Expressions? … Read more

82 Pages Modern C++ Tutorial: Quickly Get Started with C++ 11/14/17/20

82 Pages Modern C++ Tutorial: Quickly Get Started with C++ 11/14/17/20

Machine Heart Report Editor: Chen Ping C++ is an ancient yet novel language. What new features does modern C++ have? This book will take you through it. Since its invention, C++ has undergone multiple revisions, each adding new features and making some modifications. Looking back at the history of C++, it took more than a … Read more

Understanding Major Upcoming Updates in C++: The Big Four Features of C++20

Understanding Major Upcoming Updates in C++: The Big Four Features of C++20

Selected from modernescpp Author: JP Tech et al. Compiled by Machine Heart Contributors: Panda, Du Wei C++20 (the 2020 version of the C++ programming language standard) will be a significant update for the C++ language, introducing a plethora of new features. Recently, C++ developer Rainer Grimm has been introducing the new features of C++20 through … Read more

Understanding Major Upcoming Updates in C++: Core Language of C++20

Understanding Major Upcoming Updates in C++: Core Language of C++20

Selected from modernescpp Author:JP Tech et al. Compiled by Machine Heart Contributors: Panda, Du Wei C++20 (C++ Programming Language Standard 2020 Edition) will be a significant update for the C++ language, introducing a wealth of new features.C++ developer Rainer Grimm introduces the new features of C++20 through a series of blog posts.Currently, this series has … Read more

C++ Developments in 2019

C++ Developments in 2019

C++ Software Engineer Bartek published a blog reviewing the developments of C++ in 2019. Bartek mainly introduced the evolution of C++ features in 2019, significant advancements in global conferences, improvements in related tools, and expectations for new features in C++20. He summarized three major points of focus: C++20 is about to be released Tools have … Read more

Semaphore Overview (C++)

Semaphore Overview (C++)

Semaphore is a very important synchronization mechanism in concurrent programming (multithreading/multiprocessing), used to control access to shared resources by multiple threads or processes, preventing issues such as race conditions, data inconsistency, or deadlocks. 1. What is a Semaphore? ✅ Definition: A semaphore is a synchronization tool used to control access to shared resources by multiple … Read more

Introducing a Lightweight C++ Library for C++20 Enum and Type Name Reflection: Conjure-Enum

Introducing a Lightweight C++ Library for C++20 Enum and Type Name Reflection: Conjure-Enum

In daily C++ development, enumeration types are often used to represent a set of limited discrete values, such as status codes, configuration options, event types, and so on. The problem is that standard C++ has very limited support for enumerations, especially when we need to convert enumeration values to strings or parse enumeration values from … Read more

The Right Way to Open ‘C++ Journey’

The Right Way to Open 'C++ Journey'

Be brief when giving instructions! ——Cicero Modern C++ feels like a new language. I mean, compared to C++98 or C++11, I can express my ideas more clearly, simply, and directly now. Not only that, programs generated by modern C++ are also easier for compilers to check and run faster. ‘C++ Journey’ showcases the overview of … Read more

C++ Basic Syntax and Underlying Details Explained

C++ Basic Syntax and Underlying Details Explained

According to the latest data from the world-renowned language ranking TIOBE (March 2021), C++ ranks fourth in the list, and has consistently held the third place in the list of popular languages. In terms of low-level access, performance pursuit, and power consumption reduction, C++ has almost no rivals, easily solving problems ranging from embedded systems … Read more