名前空間
変種
操作

std::getchar

提供: cppreference.com
< cpp‎ | io‎ | c
2012年10月26日 (金) 07:00時点におけるTranslationBot (トーク | 投稿記録)による版

 
 
入出力ライブラリ
入出力マニピュレータ
Cスタイルの入出力
バッファ
(C++98で非推奨)
ストリーム
抽象
ファイル入出力
文字列入出力
配列入出力
(C++98で非推奨)
(C++98で非推奨)
(C++98で非推奨)
同期化出力
エラーカテゴリインタフェース
(C++11)
 
C スタイルの入出力
型とオブジェクト
関数
ファイルアクセス
直接入出力
書式なし入出力
getchar
(C++14未満)
書式付き入力
 
ヘッダ <cstdio> で定義
int getchar();
stdinから次の文字を読み込みます.
Original:
Reads the next character from stdin.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

パラメータ

(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

値を返します

取得した文字またはEOFエラーが発生した場合、またはファイルの終わりに達しました
Original:
The obtained character or EOF if an error has occurred or the end of file reached
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

も参照してください

テンプレート:cpp/io/c/dcl list fgetc
C documentation for getchar