Blog
-
C++ date parsing and formatting | chrono· std::format
Format and parse calendar dates with C++20 chrono, std::format, parse, zoned_time, locale-aware weekday names, and common pitfalls for wire formats vs d...
-
C++ Design Patterns — Complete Guide
Development blog post organizing C++ design patterns. class Singleton { private: static Singleton instance; Singleton() {}.
-
C++ Diamond Problem: Multiple Inheritance & Virtual Bases
C++ diamond inheritance explained: ambiguous common base, virtual inheritance, ctor rules, and alternatives—composition and interface splitting.
-
C++ std::distribution — Complete Guide
Guide to C++11 random distributions: uniform_int, uniform_real, normal, Bernoulli, Poisson, and discrete.
-
LNK2019 Unresolved External Symbol in C++: Five Causes
Fix MSVC LNK2019 and “unresolved external symbol”: missing definitions, .cpp not in the build, missing .lib links, name mismatches, and templates.
-
C++ Segmentation Fault: Five Causes and Debugging with GDB,
Fix segfaults: null dereference, dangling pointers, stack overflow, buffer overrun, bad casts.
-
CMake “Could NOT find …”: find_package Failures,
Fix CMake Could NOT find Boost and other packages: Config vs Module mode, dev packages on Linux, version constraints, COMPONENTS, case sensitivity.
-
C++ Exception Specifications: noexcept, History, and throw
C++ exception specifications from throw() to noexcept: move operations, swap, destructors, conditional noexcept, and why dynamic specs were removed.
-
C++ Execution Policies | Parallel and Vectorized STL (C++17)
std::execution::seq, par, par_unseq: when parallel algorithms help, data races, exceptions, and profiling parallel sort and reduce.
-
C++ expected | 'Error Handling' Guide
std::expected is a type introduced in C++23 that represents success or error.