basics

Reverse For Loops in C++--Carlos Buchart

How do you do it?

Reverse For Loops in C++

by Carlos Buchart

From the article:

As we saw when working on dynamic bitsets, it can be useful to traverse a collection backwards, from its last element to its first one.

It would be nice to be able to use C++11 range for loops to iterate backwards. But unfortunately, there is no such reverse range-for: range-for only works forwards.

Let’s see how to traverse a collection backwards by using a range for loop...

C++ User Group meetings in January 2020

The monthly overview on upcoming C++ User Group meetings all over the world!

C++ User Group meetings in January 2020

by Jens Weller

From the article:

Happy new years! The year has begun, and lots of C++ User Groups have their first meeting of 2020.

Would like to start your own group or looking for ideas in running your current group? Watch my talk from CppCon:

CppCon YT - CppCon 2019: Jens Weller “Starting and Running C++ User Groups”