Been trying to make a substitution cipher decrypter, but it isn't working especially good. so I thought I might could get some help with it.
#include <iostream>
#include <time.h>
#include <windows.h>
#include <iomanip.h>
#include <string.h>
using namespace std;
int main()
{
bool EndThisShit(false);
do {
string input;
cin >> input;
int il;
input.length() = il;
int Ninput[il];
Ninput[il] = input
int y;
for( y = 0; y < il; y++){
int t =1;
Ninput[fo] + t;
i++;
t++;
}
int a;
for(a = 0; a < il; a++) {
enum letter { a = 97, 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 b = 0;
cout Ninput[b]
b++;
}
cout << " is this a good solution? y/n >> ";
char yn;
cin >> yn;
if(yn == y) {
EndThisShit = true;
}
if(yn == n) {
EndThisShit = false;
}
}while(!EndThisShit);
}