Back to projects

CppSnaks

Last Updated: December 18, 2025

This is a Rustlings/Ruby Koans-inspired tutorial for C++. The basics of C++ is taught through simple coding exercises that the user must debug in order to make the code compile and pass any test case that was inserted into the code. The goal of the exercises isn't to be complex, but to be simple while capturing the key ideas of the C++ language. Therefore, in designing the exercises, the following resources are extensively referenced:

The exercises are still underdevelopment and the repository is still undergoing frequent updates.

Code: https://github.com/minlu21/cppsnaks.git

CppSnaks Welcome PageA sample of a CppSnaks exercise