Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
数値がブール値を返すための isdigit() のようなものはありますかchar *str = "123 467";?
char *str = "123 467";
isspace() はどうですか?これにより、char が空白文字かどうかがわかります。
ctype.h に含まれています