putchar [C++ Reference]
Keywords: c,io,putchar
Date: 2008-10-14T15:42:01-0700

[[putchar]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## putchar

Syntax:

        #include <cstdio>
        int putchar( int ch );

The putchar() function writes ch to stdout. The code

         putchar( ch );

is the same as

         putc( ch, stdout );

The return value of putchar() is the written character, or EOF if there is an error.

Related Topics: putc

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •