Boost Library

Convert First Letter of each word of a String to Upper Case in C++

In this article we will discuss different ways to convert first letter of each word to upper case in a a given string i.e. Using STL algorithm Using Boost Filtered Iterator & Range Converting First Letter to Upper Case using STL Algorithm Used: Iterate over the characters in given string For each character check –

Convert First Letter of each word of a String to Upper Case in C++ Read More »

Convert a String to Uppercase or LowerCase in C++

In this article, we will discuss different ways to convert a string to upper case or lower case in C++. Table Of Contents Convert a String to Upper Case using STL C++ provides a function ::toupper() that converts a character to upper case character i.e. To convert a complete string to upper case , just Iterate over

Convert a String to Uppercase or LowerCase in C++ Read More »

Scroll to Top