mastodon.cardina1.red は、数々の独立したMastodonサーバーのうちのひとつです。サーバーに登録してFediverseのコミュニティに加わってみませんか。

サーバーの情報

3
人のアクティブユーザー

らりお・ザ・何らかの🈗然㊌ソムリエ

isdigit - cppreference.com
en.cppreference.com/w/c/string

> isdigit and isxdigit are the only standard narrow character classification functions that are not affected by the currently installed C locale, although some implementations (e.g. Microsoft in 1252 codepage) may classify additional single-byte characters as digits.

MS でだけ isdigit がロケール依存www

en.cppreference.comisdigit - cppreference.com

std::isalpha - cppreference.com
en.cppreference.com/w/cpp/stri

C/C++ の isdigit と isxdigit (ただし MS プラットフォームは除く) はロケール非依存で、他の isHoge 系は基本的にロケール依存。思い出してきた

en.cppreference.comstd::isalpha - cppreference.com

C/C++ で文字種判定なんかしなくなったが「とにかく C/C++ の文字判定はロケール依存が怖いからやめておけ」という防衛知識だけが記憶に残っていた