alphabet from lower to upper , using ascii
what logic should be use to convert small letters into capital using ascii codes??
for example ascci code for A is 65 and ascii code for a is 97
how can i coonvert from integers to character ?
Xufyan -4 Posting Whiz
Recommended Answers
Jump to PostWhat about using char ch = 'a'; and then ch++; 26 times?
char toCap = 'a';
toCap -= ('a' - 'A');int integer = 0;
integer += 'a' for lowercase,Now print it with a %c and with a %d :)
And what would it be …
Jump to Postalphabet from lower to upper , using ascii
what logic should be use to convert small letters into capital using ascii codes??
for example ascci code for A is 65 and ascii code for a is 97
how can i coonvert from integers to character ?Such confusing responses....
…
All 6 Replies
Banfa 597 Posting Pro Featured Poster
Adak 419 Nearly a Posting Virtuoso
xavier666 56 Junior Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Banfa 597 Posting Pro Featured Poster
Xufyan -4 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.