请输入您要查询的百科知识:

 

词条 fputchar
释义

函数名: fputchar

功 能: 送一个字符到标准输出流(stdout)中,出错则返回EOF。

用 法: int fputchar(char ch);

程序例:

MSDN中的例子:

// crt_fputchar.c

// This program uses _fputchar

// to send a character array to stdout.

#include <stdio.h>

int main( void )

{

char strptr[] = "This is a test of _fputchar!!\";

char *p = NULL;

// Print line to stream using _fputchar.

p = strptr;

while( (*p != '\\0') && _fputchar( *(p++) ) != EOF )

;

}

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/2/7 15:05:54