Skip to content

Commit 7f86fee

Browse files
committed
reference/cctype/isgraph.md: Created sample implementation
1 parent b9ee460 commit 7f86fee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reference/cctype/isgraph.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@ isgraph(' ') = 0
5050
isgraph('\n') = 0
5151
isgraph('0x0f') = 0
5252
```
53+
54+
## 実装例
55+
```cpp
56+
int isgraph(int ch) {
57+
return isprint(ch) && !isspace(ch);
58+
}
59+
```

0 commit comments

Comments
 (0)