updte cv3

This commit is contained in:
Ivan Leichenko 2024-10-14 15:36:31 +02:00
parent ea98c9f32b
commit e05fd36e76

View File

@ -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]))
{