摘要: c++检测输入的是否为数字: 代码: bool isNum(const string & str) { const char *ch = str.c_str(); if (*ch <='Z' && *ch >= 'A' || *ch <='z' && *ch >='a') { return fals 阅读全文
posted @ 2022-04-06 09:51 Maguyusi 阅读(9) 评论(0) 推荐(0)