scanf
Sign in to save'''''', short for scan formatted, is a C standard library function that reads and parses text from standard input.
In the Vinony graph
Vinony's link graph records 15 inbound references to scanf, and connects out to C file input/output, C and data type.
It is catalogued under the topic C standard library.
Vinony links it to 8 Wikipedia language editions.
Wikidata facts
- Instance of
- function
- Part of
- C standard library
Show 1 more fact
- Stack Exchange tag
- stackoverflow.com/tags/scanf
Sources (1)
via Wikidata · CC0
Article · 日本語
scanf(スキャンエフ)は、C言語の標準関数。ヘッダーファイル stdio.h で定義されている、書式付き入力関数である。 標準入力(大抵はキーボード)からの入力を、書式に従って変数に読み込む機能を持つ。標準出力関数のprintfと対比させて考えると分かりやすい。 ユーザーからの入力を受ける、ごく基本的な機能を持つにもかかわらず、後述するように異常入力(エラー)に配慮すると相応の手間がかかるため、テストプログラムや入門書を除いてはあまり使われない。 このファミリーの関数には、入力ストリームを指定できる や、メモリ上の文字列ストリームを入力対象とする などがある。
Abstract from DBpedia / Wikipedia · CC BY-SA