// 双引号用错了,换成半角双引悔拆号即可余迹
#include
#include
void main() {
FILE *infp,*outfp;
char ch;
if((infp = fopen("碧毁枣c:\\infile.c","r")) == NULL) {
printf("Cannot open this infile. \n");
exit(0);
}
if((outfp = fopen("c:\\outfile.c","w")) == NULL) {
printf("Cannot open this outfile. \n");
exit(0);
}
while(!feof(infp))
if((ch = fgetc(infp)) != EOF)
fputc(ch,outfp);
fclose(infp);
fclose(outfp);
}
C1010是预编译错误,修改这个错误的关渗旅键在于在文件的最开始添加一行:
#include "stdafx.h"
之后还有一慎拍些语法错误,xoaxa都已宽喊羡经修改过来了。
你这是尘余从编译器中复制过来的吗??
里边的符号闭兄弯都是中文符号啊!!引号什么的轿闷
=======================
楼主问题不管啦??