Hello,
I am wondering if I am chasing my tail, but is it possible to convert the numbers 1-26 to their respective letter of the alphaber by using the call char(1) where it will return the letter a, char(2) will return b, char(c) will return c, etc...
Thanks,
PriusDriver07
0
Newbie Poster
Recommended Answers
Jump to PostKind of, you will have to do an offset.
char convertNumericToLetter(int i) { if( i < 0 || i > 26 ) return 0; else return char('a' + i); }
All 2 Replies
Reply to this topic
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.