#include <cstdio> int putchar( int ch );
putchar() 函式將 ch 寫入 stdout。程式碼
putchar( ch );
與
putc( ch, stdout );
相同。putchar() 函式的返回值是寫入的字元,如果出現錯誤,則返回 EOF。