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++23/C++20/C++17 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:

C++ Links #16

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 19th and 25th of January 2019. This week you will find a link to a ray-tracer, real-life examples of ranges, new useful features of Microsoft Visual Studio and many more! Tiny implementation of ray-tracing, it contains only 256 lines of C++ code… and it’s still readable!

READ MORE...

std:filesystem::file_size Advantages and Differences

Updated:

Subtitle: Learning std::filesystem through file_size routines. Last week I wrote a short post that explained how to use std::filesystem::file_size. Today I’d like to continue and show some significant differences that this new functionality has over the “older” techniques (like reading a file and getting its file position). We’ll also learn something about permissions and how to manage them in std::filesystem.

READ MORE...

C++ Links #15

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 12th and 18th of January 2019. In this week you may find the final answer how to get the size of the file, article describing few examples with Ranges and many more! Short description of C++17 std::scoped_lock, defined in header

READ MORE...

How to get File Size in C++?

Updated:

Before C++17 we could often complain that even simple tasks as getting a file size were complicated. With std::filesystem things get a bit easier! Get a File Size   STL before C++17 didn’t contain any direct facilities to work with a filesystem. We could only use third party libraries (like Boost), or system APIs.

READ MORE...

C++ Links #14

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 5th and 11th of January 2019. This week you will link to post about over complicated initialisation of the variables, link to an article that checks which STL header it’s the longest being parsed and many more!

READ MORE...

C++ Links #13

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 29th December 2018 and 4th of January 2019. We are back after a month break - we hope that we won’t have such long breaks in the future. The most important event from the last weeks is “Niebler Gate”, long and controversial topic that started from Eric Niebler post.

READ MORE...

C++ at the End of 2018

Updated:

2018 is almost over (just a few hours left in Poland till midnight). As in previous years, I did a summary of many things that happened in the C++ community. This year seems to be marked with a solid progress towards the standardisation of C++20, using more and more C++17 and as always the growth in the community.

READ MORE...

How To Parallelise CSV Reader - New Chapter

Updated:

Learning new language and library features in isolation might not be the best choice. That’s why in my book I also added bigger examples where many C++ elements coexist together. This time I’d like to describe another book update where I create and walk through a CSV reader application. The application uses a lot of language and library components.

READ MORE...

C++ Links #12

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 1st and 7th of December. In this week you will find a link with learning resources from SG20 Education, article about optimising C++ code and many more! C++17 adds another way of converting characters to numbers, method std::from_chars, faster alternative to std::atoi, std::atol and similar.

READ MORE...

C++ Links #11

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 24th and 30th of November. In this week you can found links to blog post series about good interface design, benchmarks for C++17 parallel algorithms, a video about compiler attributes and many more!

READ MORE...

C++ Links #10

Updated:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 10th and 16th of November. This week we have link to another ISO C++ Standards Committee Meeting report - this time from Herb Sutter, you can also find link to video with unusual initialization using Designated Initializers.

READ MORE...