Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>synopsis:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <conio.h>
    int putch( int c );

Description:
    The putch function writes the character specified by the argument c to
    the console.

Returns:
    The putch function returns the character written.

See Also:
    getch, getche, kbhit, ungetch

Example:
    #include <conio.h>
    #include <stdio.h>

    void main()
      {
        FILE *fp;
        int c;

        fp = fopen( "file", "r" );
        if ( fp != NULL ) {
          while( (c = fgetc( fp )) != EOF )
            putch( c );
        }
        fclose( fp );
      }

Classification:
    WATCOM

Systems:
    All

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