Problem To complement this Java question on palindrome identification, I came up with this C++(14) version: #include <iterator> #include <algorithm> […]
Tag: c++14
Nullable array wrapper class with small size optimization
Problem I have an array wrapper class that I’d like to get reviewed. There are two differences with other common […]
C++ and SDL2: Snake implementation
Problem I’ve created a simple “Snake” game in C++, to practice using OOP and SDL2 (this is the first time […]
Child class accessing Parent’s public methods
Problem I have a data structure consisting of one main Parent container that allows direct access to the Child objects […]
Fill by sequence, possibly better std::iota
Problem Controversies: It seems like the algorithm became some sort of std::transform(). I started wondering if all mutating algorithms eventually […]
Heapsort implementation in C++14
Problem Please review the following implementation of heapsort and pay attention to the following: Have I correctly chosen the names […]