toupper, not working

Status
Not open for further replies.

gemiller

In Runtime
Messages
118
When I try to use toupper, in Metroworks Codewarrior v 7.0, it tells me toupper is an undefined identifier, which we all know it's not a identifier, but an expression, and that does not need a header file to my knowledge, so what am I doing wrong?
 
Where is your code? (difficult to point out a problem unless we can see the code).

For C, do remember to #include < ctype.h >
 
Nevermind figured it out, I was used to a compiler at school, really old and you could use toupper(variableName); and with new versions have to have variableName = toupper(variableName);
 
Status
Not open for further replies.
Back
Top Bottom