The sandbox where we show our increasingly depressing C++ skills
The project defines a set of exercises to learn C++ or to improve the existing skills. Each exercise works as a full library defined in the project itself (So each finished exercise becomes a module of the library that this C-- project is).
The project follows an include/
src/
test/
sourcetree layout, where:
include/siminusminus/
: Contains the headers of the project (one subdirectory per module, see instructions bellow), src/
: Contains the implementation files (.cpp files) of the project, one subdirectory per module.test/
: Unit tests, one subdirectory per module.doc/
: documentation generated with Doxygen.The description of the exercise will be provided as an issue tagged as exercise
, numbered with the issue number.
Multiple exercises may be part of a same topic, each topic represented as a module in the project (Data structures, utilities, etc).
The exercise may include or not all the bootstrapping stuff, like adding CMakeLists.txt files at the corresponding directories for library and tests targets, new dependencies, etc.
Exercises may depend in already-solved exercises, for example an exercise about writing an string_view
from a string
class written
in a previous one.
dev/exercise-n
coming from master
, where n is the number of the exercise.C-- is license under the MIT license. See LICENSE for details.