标签:ar for c amp r har return buffer char
for(int i =0;i<28;i++)
{
char c = toupper(buffer[i]);
if( !( (c>=‘0‘&& c<=‘9‘) || (c>=‘A‘&& c<=‘F‘) || c == ‘ ‘ ) )
{
MSG("WARING:请检查输入是否符合要求... ");
return;
}
}
标签:ar for c amp r har return buffer char
原文地址:http://www.cnblogs.com/fx427103/p/3962835.html