資源簡介
愷撒加密解密
代碼片段和文件信息
#include?“pch.h“
#include?
#include?
#include?
#include?
#define?N?100
using?namespace?std;
void?Encrypt(char?*Code?int?numA?int?numB?int??model);
void?Decrypt(char?*Code?int?numA?int?numB?int??model);
int?main()
{
char?str[N];
int?model;
int?numA;
int?numB;
while?(1)
{
cout?<“Ready?to?serve.\n“;
cout?<“1.Encrypt.\n“;
cout?<“2.Decrypt.\n“;
cout?<“3.Not?now.\n“;
cin?>>?model;
cout?< switch?(model)
{
case??1:
cout?<“What?you?want?to?encrypt??\n“;
cin?>>?str;
cout?<“Enter?the?code?for?CHARACTER?:?“;
cin?>>?numA;
cout?<“Enter?the?code?for?NUMBER?:?“;
cin?>>?numB;
Encrypt(str?numA?numB?model);
cout?< break;
case??2:
cout?<“What?you?want?to?decrypt??\n“;
cin?>>?str;
cout?<“Enter?that?code?for?CHARACTER?:?“;
cin?>>?numA;
cout?<“Enter?that?code?for?NUMBER?:?“;
cin?>>?numB;
Decrypt(str?numA?num
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????..A..H.?????30720??2018-12-27?21:46??En-Decrypt\.vs\En-Decrypt\v15\.suo
?????文件????5050368??2018-12-27?21:46??En-Decrypt\.vs\En-Decrypt\v15\Browse.VC.db
?????文件?????327680??2018-12-27?21:38??En-Decrypt\.vs\En-Decrypt\v15\ipch\e37f67965a3b8d67.ipch
?????文件?????532572??2018-12-27?21:45??En-Decrypt\Debug\En-Decrypt.ilk
?????文件?????708608??2018-12-27?21:45??En-Decrypt\Debug\En-Decrypt.pdb
?????文件?????118524??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.obj
?????文件????2031616??2018-12-26?19:13??En-Decrypt\En-Decrypt\Debug\En-Decrypt.pch
?????文件???????1642??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.tlog\CL.command.1.tlog
?????文件??????19534??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.tlog\CL.read.1.tlog
?????文件???????1084??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.tlog\CL.write.1.tlog
?????文件????????213??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.tlog\En-Decrypt.lastbuildstate
?????文件???????1324??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.tlog\li
?????文件???????3508??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.tlog\li
?????文件????????572??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.tlog\li
?????文件???????3718??2018-12-26?19:13??En-Decrypt\En-Decrypt\Debug\pch.obj
?????文件?????158720??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\vc141.idb
?????文件?????364544??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\vc141.pdb
?????文件???????4628??2018-12-27?21:45??En-Decrypt\En-Decrypt\En-Decrypt.cpp
?????文件???????8409??2018-12-26?19:13??En-Decrypt\En-Decrypt\En-Decrypt.vcxproj
?????文件???????1158??2018-12-26?19:13??En-Decrypt\En-Decrypt\En-Decrypt.vcxproj.filters
?????文件????????165??2018-12-26?19:13??En-Decrypt\En-Decrypt\En-Decrypt.vcxproj.user
?????文件????????188??2018-12-26?19:13??En-Decrypt\En-Decrypt\pch.cpp
?????文件????????614??2018-12-26?19:13??En-Decrypt\En-Decrypt\pch.h
?????文件???????1444??2018-12-26?19:13??En-Decrypt\En-Decrypt.sln
?????目錄??????????0??2018-12-26?19:13??En-Decrypt\.vs\En-Decrypt\v15\ipch
?????目錄??????????0??2018-12-27?21:46??En-Decrypt\.vs\En-Decrypt\v15
?????目錄??????????0??2018-12-27?21:45??En-Decrypt\En-Decrypt\Debug\En-Decrypt.tlog
?????目錄??????????0??2018-12-26?19:13??En-Decrypt\.vs\En-Decrypt
?????目錄??????????0??2018-12-28?15:17??En-Decrypt\En-Decrypt\Debug
????...D.H.?????????0??2018-12-26?19:13??En-Decrypt\.vs
............此處省略6個文件信息
評論
共有 條評論