编译第一步:去源代码( C)注释
#include<stdio.h>
#include<stdlib.h>
main()
{
char ch1,ch2,ch3,ch4;
FILE *fp1,*fp2;
常见题 \input.txt","r"))==NULL)
{
printf("cann't open the input file");
exit(1);
}
常见题 \output.txt","w"))==NULL)
{
printf("cann't open the output file");
exit(1);
}
ch1=fgetc(fp1);
ch2=fgetc(fp1);
while(!feof(fp1))
{
if('/'==ch1 && '/'==ch2)
// 这里注意,判断条件要细分好,在设及到条件分支语句时,
// 要注意,每个分支都要单独的测试到,会更容易维护
{