Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 06-01-2003, 08:46 AM   #1 (permalink)
True Techie
 
Join Date: May 2003
Posts: 118
Send a message via ICQ to gemiller Send a message via AIM to gemiller
Default toupper, not working

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?
__________________
====|::::::::::::::::::::::::>
\"If you don\'t know where you are going any road will take you there.\"
gemiller is offline   Reply With Quote
Old 06-02-2003, 02:10 PM   #2 (permalink)
MM
Newb Techie
 
Join Date: Apr 2003
Posts: 15
Default

Where is your code? (difficult to point out a problem unless we can see the code).

For C, do remember to #include < ctype.h >

MM is offline   Reply With Quote
Old 06-02-2003, 02:15 PM   #3 (permalink)
True Techie
 
Join Date: May 2003
Posts: 118
Send a message via ICQ to gemiller Send a message via AIM to gemiller
Default

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);
__________________
====|::::::::::::::::::::::::>
\"If you don\'t know where you are going any road will take you there.\"
gemiller is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:36 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0