Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C++
how to compare lower case character to uppercase cpp
Hola
Programming language:
C++
2021-04-13 20:23:38
1
Q:
how to compare lower case character to uppercase cpp
srinivas
Code:
C++
2021-04-11 03:09:41
for(int i=0;i<str.size();i++){ int c = str[i]; if (islower(c)) str[i] = toupper(c); }
0
Tags
how
compare
character
Related
uppercase capitalise character in string c++
check if character in string is uppercase c++
c++ compare char
convert characters to lowercase c++
upper bound in c++
how to convert string to uppercase in c++
sort string in descending order c++
lexiographic value of string c++
convert entire string to lowercase c++
convert to lowercase c++
c++ convert lowercase to uppercase
convert all characters in string to uppercase c++
how to swap string characters in c++
compare string c++
compare function in sort c++ stl
define my own compare function sort C++ stl
convert all strings in vector to lowercase or uppercase c++
c++ compare char array
c++ compare strings ignore case
New to Communities?
Join the community