Need help Uppercasing the output string for a translate program

Hey guys so I am making a Programneed help upercasing from lowercase
Last edited on
I think you might be interested in tolower() and toupper() in the <cctype> header.

http://cplusplus.com/reference/clibrary/cctype/tolower/
http://cplusplus.com/reference/clibrary/cctype/toupper/

Have fun!

-Albatross
Yep, there is a built in tolower() and toupper() function. If you want to convert entire strings to a specific case you need only loop through a string and call tolower() or toupper() for each character.

Have fun!
Topic archived. No new replies allowed.