[求助]关于文件的问题
											#include <stdio.h>
void main()
{
    char ch,filename[20];FILE *fp;
    scanf("%s",filename);
    if((fp=fopen(filename,"w"))==NULL)
    {
        printf("cannot open this file\n");
        exit(0);
    }
    while((ch=getchar()!='#'))
    {
        fputc(ch,fp);
        putchar(ch);
    }
    fclose(fp);
}
这好象没错吧``
可我在VC++6.0中运行的时候,它的错误的提示是'exit ' undeclared identifier
有人知道是啥原因嘛```谢谢啦 

 
											





 
	    

 
										
					
	 
											