Is there a good example of how toupper() works?

Bruce Worden bruce at seismo.gps.caltech.edu
Wed Oct 24 04:42:29 AEST 1990


Just a thought, but since toupper() and islower() claim to want an int as
their argument, shouldn't we all be explicitly casting the char that we 
have been happily feeding them, rather than rely on the implicit conversion?
--------------------------------------------------------------------------
C. Bruce Worden                            bruce at seismo.gps.caltech.edu
252-21 Seismological Laboratory, Caltech, Pasadena, CA 91125



More information about the Comp.lang.c mailing list