+ 2
<cctype> how?
Can someone show me how to use the cctype header file? How to covert uppercase to lowercase and from lowercase to uppercase? Thank you.
3 Answers
+ 5
https://code.sololearn.com/cbMSvwhCkZVV/?ref=app
I use the <cctype> header here to convert to lower case.
+ 3
here's a simple one
https://code.sololearn.com/czjdR6pB94LV/?ref=app
+ 2
there are two functions which you can use :-
toupper () -
to convert from lower to upper case .
tolower () -
to convert from upper to lower case .