C++ String Functions
String functions in C++. So far, we've gone over how to access, append, remove, and update characters within a string. Outside of these methods, we can utilize the built-in cctype library in C++ to classify and transform characters within a string. Specifically, we will be using the tolower and toupper functions to convert a character to lowercase or uppercase. We will use this to create a program that checks an input username that is case insensitive. In addition, we will use the islower, isupper, isdigit, isalnum functions to create a program for verifying whether or not a password meets character requirements.
If you need to review past C++ Topics:
Useful Math Functions: • C++ Useful Math Functions
Break and Continue: • C++ Break and Continue Statements
Strings and C Strings: • C++ String and C Strings
List of string character functions in the ctype library:
https://cplusplus.com/reference/cctype/
C++ Playlist:
• C++ Tutorial
Install C++ with VS Code:
• How to set up C++ in Visual Studio Code
Subscribe for more coding tutorials 😄 !
Other Videos By Kenny Yip Coding
2025-03-12 | Python Inheritance |
2025-03-11 | Python Duck Typing |
2025-03-10 | Python Class Variables |
2025-03-09 | Sorting Classes in Python |
2025-03-08 | Python Dunder Methods mul vs rmul |
2025-03-07 | Practice Dunder Methods in Python |
2025-03-06 | Python Classes Dunder Methods and Polymorphism |
2025-03-05 | Design a Credit Card Class (Python Object Oriented Programming) |
2025-03-04 | Python Classes, Methods, and Objects |
2025-02-26 | Build a Calculator in Python |
2025-02-21 | C++ String Functions |
2025-02-19 | C++ Tuples |
2025-02-13 | Map in C++ |
2025-01-15 | C++ Typedef and Type Aliases |
2025-01-14 | C++ Pair |
2025-01-13 | Javascript Rock Paper Scissors Minus One #squidgame |
2024-12-23 | Embed YouTube video in HTML |
2024-12-20 | HTML Boiler Plate vscode |
2024-12-19 | Animations in JavaScript games |
2024-12-09 | JavaScript Keyboard Events |
2024-12-04 | C++ Useful Math Functions |