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>putch() write a character to the console</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 putch()                 Write a Character to the Console

 #include   <conio.h>                    Required for declarations only

 int        putch(c);
 int        c;                           Character to be output

    The putch() function writes the character 'c' to the current text
    window.

       Returns:     The character displayed in the text window.

   Portability:     IBM PC and compatables only

   -------------------------------- Example ---------------------------------

    The following statement writes a capital 'A' to the screen.

           #include <conio.h>

           int ch = 'A';

           main()
           {
               putch(ch);
           }


See Also: putc() putchar() cprintf() getch() getche()

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