Posts
All the articles I've posted.
-
References in C++: Aliases, Memory Mechanics, and Pointers Compared
Master C++ references. Learn how aliases operate in memory, const reference binding, reference vs pointer trade-offs, and how to avoid dangling references.
-
Pointers in C++: Memory Addresses, Dereferencing, and Heap Basics
A comprehensive guide to pointers in modern C++. Understand memory addresses, dereferencing, nullptr, pointer arithmetic, dynamic heap allocation, and memory safety.
-
Strings in C++: std::string vs C-Style Strings and Practical Operations
Master string manipulation in C++. Compare modern std::string with legacy C-style char arrays, learn concatenation, searching, slicing with substr, and input handling.
-
Arrays in C++: Memory Layout, Indexing, and Modern Alternatives
A complete guide to arrays in C++. Understand contiguous memory layouts, zero-based indexing, multidimensional arrays, array decay in functions, and std::array.