1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
using namespace std;
string input;
string encode_input(input)
{
char switched_alphabet[25]=["d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","a","b","c"];
char alphabet[25]=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];
}
int main (int nNumberofArgs, char* pszArg[])
{
cout<<"Enter the input you would like to encode:";
cin>>input;
encode_input(input);
return 0;
}
|