updte cv3
This commit is contained in:
parent
ea98c9f32b
commit
e05fd36e76
@ -81,7 +81,11 @@ int main(int argc, char const *argv[])
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
if(isalpha(buf) != 0)
|
||||
{
|
||||
printf("bad input\n");
|
||||
return 0;
|
||||
}
|
||||
buf[strcspn(buf, "\n")] = '\0';
|
||||
if(!check_op(buf[0]))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user