Posts
All the articles I've posted.
-
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.
-
C++ Variables and Data Types: A Complete Beginner's Guide
Updated:Learn C++ variables and data types from scratch. Covers int, float, double, char, bool, type modifiers, constants, and best practices for beginners.