My understanding is that tolower() is a function included in cctype (or in another form in some other libraries, e.g. locale), but I just used it in a program without including anything other than iostream.
Example that compiled for me:
#include <iostream>
int main() {
char testChar = 'H';
testChar = tolower(testChar);
std::cout << testChar << std::endl;
return 0;
}
Output:
h
How does my program know what tolower() is without including cctype?