deciphe of transposition.cpp
来自「本人自行编写的替换密码小程序,程序不大,是作为试验的」· C++ 代码 · 共 22 行
CPP
22 行
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
void main()
{
char str[]="dszquphsbqiz";
int key,j;
char *deciphe;
deciphe=(char*)malloc(strlen(str));
printf("the possible array is :\n");
for(key=1;key<=10;key++)
{
for(j=0;j<strlen(str);j++)
deciphe[j]=str[j]-key;
printf("%s\nthe key is %d\n",deciphe,key);printf("\n");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?