std::fputs
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <cstdio>
|
||
| int fputs( const char *str, FILE *stream ); |
||
写入null结尾的字符串给定的输出流.
Original:
Writes given null-terminated character string to the given output stream.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 参数
| str | - | 空字符结尾的字符串被写入
Original: null-terminated character string to be written The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| stream | - | 输出流
Original: output stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
非负整数上成功,EOF失败
Original:
Non-negative integer on success, EOF on failure
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 另请参阅
| (C++11) |
打印格式化输出到stdout,文件流或缓冲区 Original: prints formatted output to stdout, a file stream or a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |
| 写一个字符串stdout Original: writes a character string to stdout The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| 得到一个字符串从一个文件流 Original: gets a character string from a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) | |
| C documentation for fputs
| |