函数名: putc
功 能: 输出一字符到指定流中
用 法: #include <stdio.h>
int putc(int ch, FILE *stream);
程序例:
#include <stdio.h>
int main(void)
{
char msg[] = "Hello world\n";
int i = 0;
while (msg[i])
putc(msg[i++], stdout);
return 0;
}