+ 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.

28th Jun 2017, 5:18 PM
Benson Tan
Benson Tan - avatar
3 Answers
+ 5
https://code.sololearn.com/cbMSvwhCkZVV/?ref=app I use the <cctype> header here to convert to lower case.
28th Jun 2017, 5:39 PM
Pixie
Pixie - avatar
4th Jul 2017, 1:59 AM
RZK 022
RZK 022 - avatar
+ 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 .
4th Jul 2017, 4:57 AM
RZK 022
RZK 022 - avatar