Inside the companion
Build your studio
Two small CMake checkpoints: one executable, then a library with tests and presets.
Project files 9
Publish a small library interface
The checker function that both the application and tests consume.
#pragma once
#include <cstddef>
#include <cstdint>
namespace studio {
// Two-pixel-wide squares. Every size_t coordinate is supported.
[[nodiscard]] std::uint8_t shade(std::size_t x, std::size_t y) noexcept;
}
This is the file included with the course. Copy and download give you its complete source.
Taking your work offline? Download all course companions
