std::ungetc
提供: cppreference.com
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
| Defined in header <cstdio>
|
||
| int ungetc( int ch, FILE *stream ); |
||
与えられたファイルストリームに戻す文字
chを置く. Original:
Puts the character
ch back to the given file 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.
[編集] パラメータ
| ch | - | 戻される文字
Original: character to be put back The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| stream | - | 背中に文字を入れて流れを起こす
Original: file stream to put the character back to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
成功
chに返されます.Original:
On success
ch is returned.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.
障害EOFに返され、指定されたストリームは変更されません.
Original:
On failure EOF is returned and the given stream remains unchanged.
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.
[編集] 参照
| ファイルストリームから文字を取得します Original: gets a character 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 ungetc
|

