Posts
All the articles I've posted.
-
How to Remove Duplicates From a Vector in C++ (3 Working Methods)
Learn three ways to remove duplicate elements from a vector in C++: sort with unique and erase, a set, and an unordered_set that preserves original order.
-
C++ Temperature Conversion Program: Celsius, Fahrenheit and Kelvin
Build a C++ temperature converter step by step. Covers the Celsius to Fahrenheit formula, integer division traps, decimal formatting and a full menu program.
-
C++ Program to Count Words in a String (4 Approaches Explained)
Learn how to count the words in a string in C++ using stringstream, a manual loop, getline with delimiters, and how to count word frequency with a map.
-
Array of Strings in C++: 4 Ways to Store a List of Text
Learn how to make an array of strings in C++ using std::string, vector, char arrays, and 2D char arrays, with working code and which one you should use.