cpp icon indicating copy to clipboard operation
cpp copied to clipboard

Exercism exercises in C++.

Results 110 cpp issues
Sort by recently updated
recently updated
newest added

Corrected duplicated test case. Was copied from above and left unchanged.

The tests for the C++ version of this exercise do not follow the problem specification and don't validate that the position is within [0, 8). This PR adds two tests,...

In the beginning of v3 development, Concept Exercises were named after their Concepts. However, we've later on changed this to have the Concept Exercises be named after their story/theme. The...

x:action/fix
x:knowledge/elementary
x:module/concept-exercise
x:type/content
x:size/small

The tests in the exercise "triangle" compare the result of the function with the `operator==` like this: ```cpp TEST_CASE("equilateral_triangles_have_equal_sides") { REQUIRE(triangle::flavor::equilateral == triangle::kind(2, 2, 2)); } ``` By default Catch2...

The tests in the exercise "robot-simulator" compare the result of the member functions `get_position()` and `get_bearing()` with the `operator==` like this: ```cpp TEST_CASE("A_robots_is_created_with_a_position_and_a_direction") { const Robot r; const std::pair expected_robot_position{0,...

The current iteration of the acronym exercise missed the case where the first letter of the phrase is lowercase. I had a mentee start their solution with ```cpp std::string result(1,...

Starting to implement affine-cipher exercise.

Implementation of new exercise "linked-list".

In C++, string formatting using `sprintf` is absolutely *not* the preferred way to do it, and is incompatible with `std::string` to boot. This should be corrected to recommend `std::stringstream` instead.