The C++ Stories Weekly Newsletter

Join 11000 developers who read about Modern C++, news reports, tools, and more! A new email every Monday.

Bonuses included! C++17/C++20 ref cards and more!

The above field is supplemented with consent to receive a newsletter containing information and marketing content about the cppstories.com portal from Bartłomiej Filipek codebf based in Krakow. The consent may be withdrawn at any time. See the full Privacy Policy.


See the latest articles:

How to Parallelise CSV Reader - C++17 in Practice

Updated:

At C++Stories (and in my C++17 book) you can find several articles on Parallel Algorithms introduced in C++17. The examples included in those posts were usually relatively straightforward. How about writing something larger? In this text, you’ll see how to build a tool that works on CSV files, parses lines into sales records and then performs calculations on the data.

READ MORE...

C++ Lambda Story in Spanish!

Updated:

I’m happy to announce that after few months of work, the C++ Lambda Story book got translation into Spanish! Have a look at the background story and learn more about Lambdas :) This post is possible with the effort of Javier Estrada. Javier is a software developer living in sunny Southern California, and while he has flirted with Java and Python in the past, his true love is C++.

READ MORE...

Software Architecture with C++, Book Review

Updated:

In April, we got a new book - from two Polish authors - Piotr and Adrian - on C++ Software Architecture. This one is fascinating and refreshing. While it won’t teach you all the latest C++ features or low-level tricks in our favorite language, it will move you to a higher level with architecture, building, patterns, design, and development for the cloud.

READ MORE...

Coding without Google

Updated:

Back in 2016, an intriguing article appeared on Reddit: “Do Experienced Programmers Use Google Frequently?”. The author discussed if expert programmers use google more often than novice coders. He mentioned that using google is a good thing. It helps to find the best solutions, validate ideas, speed the development. Google nowadays seems to be a crucial part of any developer toolbox.

READ MORE...

Extensible Stream Logging in Modern C++

Updated:

This blog post will show you how to create a robust and scalable logging library using lots of Modern C++ techniques. The author successfully used this code on Arduino embedded environment and various other production areas. Let’s dive right in. Written by Stephen Dolley Stephen works with C++ commercial and government development teams to upgrade their skills and improve the expressiveness and robustness of their code.

READ MORE...

How to Use The Newest C++ String Conversion Routines - std::from_chars

Updated:

With C++17 we get another facility to handle the conversion between text and numbers. Why should we care about the new routines? Are they better in any way? Before C++17 C++, before C++17, offered several options when it comes to string conversion: sprintf / snprintf sscanf atol strtol strstream stringstream to_string stoi and similar functions And with C++17 you get another option: std::from_chars!

READ MORE...

How to Convert Numbers into Text with std::to_chars in C++17

Updated:

In this post, I’ll show you how to use the newest, low-level, conversion routines form C++17. With the new functionality, you can quickly transform numbers into text and have super performance compared to previous techniques. Before C++17 Until C++17, we had several ways of converting numbers into strings: sprintf / snprintf stringstream to_string itoa and 3rd-party libraries like boost - lexical cast And with C++17 we get another option: std::to_chars (along with the corresponding method from_chars) !

READ MORE...