#include <iostream> #include <string> using namespace std; int main(int argc, char** argv) { string a; cin>>a; int b; char c; for(int i=0;i<a.size();i++){ c=a[i]; cout<<"第"<<i<<"位:"<<c<<endl; b=a[i]; cout<<b<<endl; } cout<<a<<"加密后是:"; for(int i=0;i<a.size();i++){ b=a[i]; cout<<b; } return 0; }
标签:加密,int,解密,char,ASCLL,include From: https://www.cnblogs.com/As10016/p/17486364.html