Check whether a string contains letter or not by using isalpha() function. ... (std::cin,s);for(char c:s)if(!isalpha(c)&!isspace(c))throw;std::cout< ...
確定! 回上一頁