File tree Expand file tree Collapse file tree 4 files changed +39
-3
lines changed
Expand file tree Collapse file tree 4 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 7979| [ ` getchar ` ] ( /reference/cstdio/getchar.md.nolink ) | 標準入力から1文字入力する | |
8080| [ ` putc ` ] ( /reference/cstdio/putc.md.nolink ) | ストリームに1文字出力する | |
8181| [ ` putchar ` ] ( /reference/cstdio/putchar.md.nolink ) | 標準出力に1文字出力する | |
82- | [ ` puts ` ] ( /reference/cstdio/puts.md.nolink ) | 標準出力に文字列を出力する | |
82+ | [ ` puts ` ] ( /reference/cstdio/puts.md ) | 標準出力に文字列を出力する | |
8383| [ ` ungetc ` ] ( /reference/cstdio/ungetc.md.nolink ) | 入力ストリームに1文字戻す | |
8484
8585
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ int main() {
2828* EOF[color ff0000]
2929* getchar[link /reference/cstdio/getchar.md.nolink]
3030* putchar[link /reference/cstdio/putchar.md.nolink]
31- * puts[link /reference/cstdio/puts.md.nolink ]
31+ * puts[link /reference/cstdio/puts.md]
3232
3333### 入力
3434```
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ int main() {
3030}
3131```
3232* fgets[ color ff0000]
33- * puts[ link /reference/cstdio/puts.md.nolink ]
33+ * puts[ link /reference/cstdio/puts.md]
3434
3535### 入力
3636```
Original file line number Diff line number Diff line change 1+ # puts
2+ * cstdio[ meta header]
3+ * std[ meta namespace]
4+ * function[ meta id-type]
5+
6+ ``` cpp
7+ int puts (const char* str);
8+ ```
9+
10+ ## 概要
11+ 引数に渡されたヌル終端文字列を標準出力に出力する。
12+
13+ また、末尾には自動で改行がつく。
14+
15+ ## 戻り値
16+ 成功すれば[`EOF`](/reference/cstdio/eof.md)以外の値を返し、失敗すれば[`EOF`](/reference/cstdio/eof.md)を返す。
17+
18+ ## 例
19+ ```cpp example
20+ #include <cstdio>
21+
22+ int main() {
23+ puts("Hello, World!");
24+ }
25+ ```
26+ * puts[ color ff0000]
27+
28+ ### 出力
29+ ```
30+ Hello, World!
31+ ```
32+
33+ ## 処理系
34+ - [ Clang] ( /implementation.md#clang ) : ??
35+ - [ GCC] ( /implementation.md#gcc ) : ??
36+ - [ Visual C++] ( /implementation.md#visual_cpp ) : ??
You can’t perform that action at this time.
0 commit comments