How to convert the content of buffer into lower case character.
Answers were Sorted based on User's Feedback
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 |
Answer / rainz
std::tolower () shall work ,while iterating through the buffer text(character by character).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is LoadLibrary function returns?
1)how to Display the File Dialog Box, in MFC ?
how many types of classes are ther,what are that
1)How to create ToolTip in MFC?
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
Do you have an idea about MFC?
1)How to change the size of a button at run time ?
What is LPCTSTR? What does LP denote it?
What is CSingleDocTemplate?
1)why we cant create more than one instance of the class Derived from CWinApp
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer
What is userdefine Messages in MFC?