Hello Tom.
19 Sep 99 22:30, you wrote to me:
TT> if (c>> ='a' && c<='z')
TT>> c = (((c-'a')+13)%26)+'a';
TT>> else if (c>='A' && c<='Z')
TT>> c = (((c-'A')+13)%26)+'A';
TT> This assumes contiguous letters of course. Extension to non-contiguous
TT> is fairly obvious (but probably unnecessary for most systems running
TT> OS/2).
Thanks for that... I'm wanting to learn C and now I have something to look at.
;)
Later,
Sean
... "A cross upon her bedroom wall/From grace she will fall" -- Type O
Negative
--- AfterHours/2 and GoldED/2 : Enjoying the silence.
* Origin: a..f..t..e..r..h..o..u..r..s..2..b..b..s (1:395/610)
|