Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to convert the content of buffer into lower case character.

Answers were Sorted based on User's Feedback



How to convert the content of buffer into lower case character...

Answer / krishna bs

If you wnat to write your own logic to convert then...

ascii value for Upparcase letter starts from 65 (A) to 90(Z)
ascii value for Lowercase leter starts from 97 (a) to 122(z)

difference is 32, i.e, 97-65 = 32

the same difference carries for all the characters.
Ex: for character 'C'
99 - 67 = 32

You can add 32 to the ascii value for upparcase letter to
convert lowercase (you have to put condition to check the
uppar case letter).

Is This Answer Correct ?    3 Yes 0 No

How to convert the content of buffer into lower case character...

Answer / sahadev tarei

::CharLowerBuff()

Is This Answer Correct ?    1 Yes 0 No

How to convert the content of buffer into lower case character...

Answer / rainz

std::tolower () shall work ,while iterating through the buffer text(character by character).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MFC Interview Questions

What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


What types of threads are supported by MFC framework?

2 Answers  


What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?

5 Answers   Atos Origin,


What is model and modeless dialog box ? Give some examples?

2 Answers   Mphasis,


what is message Testing ?

1 Answers   L&T,


what is the use of CCmdTarget?

4 Answers   Siemens,


if i modified data in 1 view how does the other view knows

2 Answers   Siemens,


plzz tell me what we can do and dont in tally ERP & sap business one?

0 Answers  


What is subclassing?

2 Answers  


how can u change button shape at run time

3 Answers   Samsung,


What is the difference between the Encapsulation and Abstraction

25 Answers   HCL, Invensys, TCS, Wipro,


What is the difference between ASSERT and VERIFY?

2 Answers  


Categories