October 3rd, 2013, 12:57 AM
How to convert elements of an array to upper-case
I am trying to convert the lower-case letters inside an array into upper-case letters. How do I do it?
October 3rd, 2013, 03:42 AM
1. #include <ctype.h>
2. Walk through the array elements in a for loop
3. Call toupper() on every element of the array.
Comments on this post
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
October 3rd, 2013, 03:57 AM
Wow it worked perfectly! Thanks a lot sir! :)
Originally Posted by Scorpions4ever