Posts
All the articles I've posted.
-
C++ nullptr vs NULL: What's the Difference (Beginner Guide)
Updated:Learn the difference between nullptr and NULL in C++, why nullptr is safer, and how it fixes a real overload bug. Clear beginner examples with working code.
-
How to Pass an Array to a Function in C++ (The Right Way)
Updated:Learn how to pass an array to a function in C++: pointer decay, why you must pass the length, modifying in place, and how a std::vector makes it safer.
-
C++ static Keyword: What It Does in Each Context
Updated:Learn all the uses of the C++ static keyword — static local variables, static class members, static functions, and static at file scope. Each context explained with examples.
-
C++ string vs char Array: Which Should You Use?
Updated:Learn the differences between C++ std::string and char arrays (C-strings). This guide covers syntax, functionality, safety, and when each is appropriate — with practical examples.