I have been trying to figure out a way to make the two compatible but I can't seem to do it, any help?
#include <iostream>
#include <string>
#include <fstream>
#include <cstdlib>
#include <cstring>
using namespace std;
const int max = 100;
char decode (char encrypted_string[16], char decrypted[], int key);
int main ( )
{
char uncoded_string[16];
char crypted_string[16] = ":mmZ\dxZmx]Zpgy";
int key;
decode (crypted_string[16], uncoded_string[16], key);
system ("pause");
return 0;
}
There is more to the whole program but it's not really pertinent to what's going on, I'll post it if you need it but other wise I mainly am trying to figure out why I get the conversion error code for "decode (crypted_string[16],uncoded_string[16],key);