Problem Personally I often prefer console applications over GUI applications. However, sometimes it is quite a challenge to display everything […]

Problem After reading this article, I’ve decided to take a crack at implementing a “safe_strcpy” function that would remove some […]

Problem In my first iterative algorithm, I do this for (auto &widget : controls.getWidgets()) { if (!widget->visible) continue; widget->draw(); for […]

Problem Recursive version. The only interesting function: List& List::reverse() { if (empty()) { return *this; } int val = head(); […]