Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>toascii() convert 'c' to ascii character</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 toascii()               Convert 'c' to ASCII Character

 #include   <ctype.h>

 int        toascii(c);
 int        c;                           Character to be converted

    toascii() converts an integer, 'c', to a value in the ASCII character
    set (0 - 127) by clearing all but the lower seven bits.  'c' is left
    unchanged if it already represents an ASCII character.

       Returns:     The converted character 'c'.  There is no error
                    return.

See Also: isascii() isalnum() isalpha() isdigit()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson