Here is a hint: it involves #include <cctype> (or #include <locale> ) and std::isupper .
L7Sqr
Practically a Master Poster
657 posts since Feb 2011
Reputation Points: 201
Solved Threads: 124
Yeah... but just using the code i gave above is a substitute for all of it..
Isupper resides in the standard library with the same procedure u mentioned here.. Why write the whole code, when there already exists a direct function for it ??
Yeah... and by just using the built in functions, what do you learn? How to use a built in function. What if your next language doesn't have that built in function? You can't program the task...
AndSince we appear to be giving away code these days
thread closed...
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944