Convert character cases using toupper and tolower

Опубликовано: 17 Октябрь 2024
на канале: Professor Hank Stalica
944
25

Let's use some functions from the cctype header file to change cases of characters from lower case to upper case and back again.

In this C++ tutorial for beginners, we'll use Visual Studio Community 2022 to demonstrate the use of the functions, how to fix a mysterious behavior with the functions, and how to write functions that convert whole strings to upper or lowercase.

// Learn More //
Characters, C-Strings, & The string Class playlist:
   • CH10:  Characters, C-Strings, and Mor...  

Check out my C++ Videos play list:
   • Playlist  

// Consider supporting this channel in multiple ways //
https://paypal.me/hankstalica1
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP