#include"pch.h"
#include<stdio.h>
#include<conio.h>
int main(void)
{
char c;
while (1);
{
c = _getch();
if (c >= '0'&&c <= '9')
continue;
printf("%c", c);
if (c == 27)
break;
}
return 0;
}
我照着书本打的代码,在vs2017中运行,但是运行出错,如图
刚入坑的小白,有大佬能够帮忙看一下吗,感谢!