By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,654 Members | 936 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,654 IT Pros & Developers. It's quick & easy.

Uppercase to lowercase

P: 1
It a real simple bit of code but I dont fully understand how to grasp what it is doing .

I should first explain that I have a full 5 weeks of C++ under my belt and no other progrming experiance, that being said, I understand the obejct of this code is to convert any letter in from CAPS to lower case what I dont under stand is how to say it in english.

heres the code UnitsIn = (UnitsIn > 90) ? UnitsIn-32 : UnitsIn;

Thanks for any help
Mar 10 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,510
It a real simple bit of code but I dont fully understand how to grasp what it is doing .

I should first explain that I have a full 5 weeks of C++ under my belt and no other progrming experiance, that being said, I understand the obejct of this code is to convert any letter in from CAPS to lower case what I dont under stand is how to say it in english.

heres the code UnitsIn = (UnitsIn > 90) ? UnitsIn-32 : UnitsIn;

Thanks for any help
have a read thru the explaination in
http://www.cplusplus.com/doc/tutorial/operators.html
http://msdn2.microsoft.com/en-us/library/e4213hs1.aspx
Mar 10 '07 #2

10K+
P: 13,264
Thread renamed.
Mar 10 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.