Blog
-
C++ Makefile Tutorial | Variables· Pattern Rules
Makefile guide for C++ projects: tabs, automatic variables, wildcards, -MMD dependencies, parallel -j, and when to prefer CMake for cross-platform builds.
-
C++ Move Semantics: Copy vs Move Explained
C++11 move semantics: rvalue references, std::move, Rule of Five, noexcept move constructors—copy vs move performance and safe usage patterns.
-
C++ nullptr vs NULL | Type-Safe Null Pointers
Why C++11 nullptr beats NULL and literal 0: std::nullptr_t, overload resolution, template deduction, and migration tips including clang-tidy modernize-u...
-
C++ One Definition Rule : Multiple Definitions, inline,
The ODR requires a single definition across the program for variables and functions, with exceptions for inline, templates, and C++17 inline variables.
-
C++ Parallel Algorithms | Parallel Algorithm Complete Guide
C++ Parallel Algorithms: execution policy, parallel arrangement, principles, code, and practical applications.
-
C++ Perfect Forwarding Complete Guide
Master C++ perfect forwarding: preserve lvalue/rvalue categories with universal references (T&&) and std::forward.
-
C++ std::random_device | Hardware entropy for seeding
How random_device maps to OS entropy, using entropy(), seed_seq for mt19937, UUID and token examples, performance vs mt19937, and platform quirks when e...
-
C++ std::regex | Regular expressions in C++11
Complete guide to C++11 regex: regex_match vs regex_search, regex_replace, capture groups, sregex_iterator, raw strings, performance, ECMAScript syntax,...
-
C++ Sanitizers: ASan, TSan, UBSan, and MSan Explained
Clang/GCC sanitizers for C++: AddressSanitizer, ThreadSanitizer, UBSan, and CI examples.
-
C++ Smart Pointers: unique_ptr, shared_ptr & Memory-Safe
C++ smart pointers explained: unique_ptr for exclusive ownership, shared_ptr for shared ownership, weak_ptr for cycles—examples, make_unique/make_shared...