⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yd1.cpp

📁 加密置换加密方法.能实现加解密的C程序.
💻 CPP
字号:
#include<stdio.h>
#define exit
void main()
{FILE *in,*out;
char infile[100],outfile[100];
printf("文件移动课题\n");
printf("输入文件1的名字:\n");
scanf("%s",infile);
printf("输入文件2的名字:\n");
scanf("%s",outfile);
if((in=fopen(infile,"r"))==NULL)
{printf("cannot open infile\n");
exit(0);
}
if((out=fopen(outfile,"w"))==NULL)
{printf("cannot open outfile\n");
exit(0);
}
while(! feof(in))fputc(fgetc(in),out);
fclose(in);
fclose(out);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -