converting upper case to lower case...

Q. Write a function to convert uppercase alphabet into lower case and vice versa of string passed as an argument. The prototype of the function is given below:
void Convert_Case(char string[]);
Write main() function to declare and obtain a string from the user and execute the above declared function.
you can also do it yourself. Char is an int which corresponds to the ascii value of the letter. If you look up the ascii table you can find out what offset you need to add or subtract from the char to convert it lower or uppercase .
@CppSpartan: Not everyone uses ASCII.
@PanGalactic: What do you mean?
Unicode.
Or ISO-8859-*.


Unicode > *
closed account (zwA4jE8b)
lol, don't steal mine
...from the first page in the forum:
http://cplusplus.com/forum/general/36127/
@moorecm thx
Topic archived. No new replies allowed.