Possible Duplicate:
Case insensitive string comparison in C++
C++ count and map
How to do case insensitive count in C++ without using tolower
. I want to count words irrespective of their case, but do not want to use tolower
. Any other solution in C++?