Tag: tutorial
All the articles with the tag "tutorial".
-
Inline Functions in C++: What the inline Keyword Really Does
Learn what inline means in C++, why it is about the One Definition Rule and not speed, when the compiler inlines code anyway, and when to use inline in headers.
-
Linear Search in C++: How It Works, With Code and Complexity
Learn linear search in C++ with full working code. Search arrays and vectors step by step, handle not-found cases, and see how it compares to binary search.
-
Matrix Multiplication in C++: Full Program Explained Step by Step
Multiply two matrices in C++ with complete working code. Understand the triple loop, why inner dimensions must match, and how to do it with vectors safely.
-
Storage Classes in C++: static, extern, thread_local, and mutable
Understand storage classes in C++ with working examples. Learn how static, extern, thread_local, and mutable control a variable's lifetime, scope, and linkage.