刚开始学习c,各位大师帮忙解决哥问题吧
报错: fatal error C1004: unexpected end of file found执行 cl.exe 时出错.
我的程序如下:
# include
int main(void)
{
int i;
char ch;
scanf("%d", &i);
printf("i = %d\n", i);
while ( (ch=getchar() ) != '/n' )
continue;
int j;
scanf("%d", &j);
printf("j = %d\n", j);
return 0;
}
怎么回事啊?各位高手指点啊,谢谢啦