Exercises to train your C++11/14/17 (and then some).
On Linux all you need is a compiler with C++17 support; gcc-7 and gcc-8 have it.
git clone [email protected]:xtofl/cpp11training
cd cpp11training/cpp11training
mkdir build
cd build
cmake ..
make
Prerequisite: currently I have it up and running for Visual Studio 2017 Community edition. It relies on NuGet package manager, which should be installed explicitly (cf. stackoverflow)
Open the cpp11training/cpp11training.sln
solution.
The project contains a bunch of failing unit tests. The idea is that you un-DISABLE each one of them, and make it pass (using C++11, obviously). (the gtest library by default ignores tests starting with DISABLED_
.)
I tried to add a TODO: comment hinting what's expected from you to fulfill the exercise.
Once all tests pass, I have nothing more to teach you :)