2024-09-10から1日間の記事一覧
#include <cstring> #include <cctype> // ... if (strlen(p) > 4) { const char* ext = p + strlen(p) - 4; if (_stricmp(ext, ".csv") == 0) { // 拡張子が .csv または .CSV } }_stricmp()は大文字小文字区別しない比較関数。</cctype></cstring>
#include <cstring> #include <cctype> // ... if (strlen(p) > 4) { const char* ext = p + strlen(p) - 4; if (_stricmp(ext, ".csv") == 0) { // 拡張子が .csv または .CSV } }_stricmp()は大文字小文字区別しない比較関数。</cctype></cstring>