DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
how to compare lower case character to uppercase cpp
for
(
int
i
=
0
;
i
<
str
.
size
(
)
;
i
++
)
{
int
c
=
str
[
i
]
;
if
(
islower
(
c
)
)
str
[
i
]
=
toupper
(
c
)
;
}
PREVIOUS
NEXT
Tagged:
#compare
#case
#character
#uppercase
#cpp
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit