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,

Recommended Answers

All 2 Replies

Kind of, you will have to do an offset.

char convertNumericToLetter(int i)
{
    if( i < 0 || i > 26 ) return 0;
   else return char('a' + i);
}

Thanks! I got that feeling after I started to see happy faces!

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.