If you use tolower() from <cctype>, it won't work unless you leave the namespace qualifier OFF. I am quite certain you should be forced to use std::tolower(). ============================= Bruce Eckel http://www.BruceEckel.com Contains free electronic books: "Thinking in Java" & "Thinking in C++ 2e"