Blog
-
C++ Linkage and Storage Duration: extern, static,
External vs internal linkage, no linkage, and automatic/static/thread/dynamic storage.
-
C++ Linking Explained: Static vs Dynamic Libraries, Symbols,
How the linker combines object files into executables and libraries.
-
C++ std::locale — Complete Guide
How std::locale affects streams, number and money formatting, put_time, character classification, global vs imbue, UTF-8 caveats, and performance tips f...
-
C++ Loops Masterclass: for, while, do-while, Range-for,
Choose the right loop: counted for, condition-driven while, do-while for at-least-once, range-based for, break/continue rules, off-by-one, and floating-...
-
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++ Memory Leaks: Causes, Detection, and Prevention with
Fix and prevent C++ memory leaks: missing delete, exceptions, cycles, Valgrind and ASan, RAII, unique_ptr, shared_ptr, and weak_ptr patterns.
-
C++ Memory Management: new/delete, Stack vs Heap, and RAII
Deep dive into C++ memory: stack vs heap, dynamic allocation with new/delete, RAII, smart pointers, and common pitfalls—new, delete[], placement new, an...
-
C++ Move Constructor: rvalue Stealing & noexcept Best
C++ move constructors: rvalue resource transfer, copy vs move, vector and noexcept, self-move, and when not to std::move return locals.
-
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++ Multithreading Basics: std::thread, mutex,
Introduction to C++ concurrency: std::thread, join/detach, mutex and lock_guard, producer–consumer patterns, thread pools, races, and deadlocks.