Screenplay: C++: Exercise Structure

Problem

Exercises usually have

  • A specification, given by the trainer in the form of one or more test cases.

  • Multiple almost identical implementations.

The latter - identical implementations - is the challenge.

Solution

.
├── CMakeLists.txt
├── group1
│   ├── CMakeLists.txt
│   ├── thing.cc
│   └── thing.h
├── group2
│   ├── CMakeLists.txt
│   ├── thing.cc
│   └── thing.h
├── index.rst
└── test.cc

2 directories, 9 files