Skip to content
 
 

Latest commit

 

History

224 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp 11 training

Exercises to train your C++11/14 (and then some).

Build Status

Getting started

Linux

On Linux all you need is a compiler with C++14 support

export CXXFLAGS=-std=c++14

git clone git@github.com:xtofl/cpp11training
cd cpp11training/cpp11training
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j $(nproc)

Windows

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.

Exercising

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 :)

About

Make unit tests run to exercise your C++11 knowledge

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages