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 the base class for MFC Framework ?
What is stack size in win32 program?
What is the command routing in MFC framework?
Which CPrintInfo member variable must be set for multiple page printouts?
How many types of dialog box are their
What is the difference between the ASSERT and VERIFY macros?
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
1)At run-time, you can change the icon by calling the LoadIcon() function?
i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required
Explain in sort What is CTargetObject?
What is difference between the TCP/IP and UDP socket
What function is used to retrieve the currently selected index in a list box?