slen is the array length, and I need em to input an array of characters which is S1[], array1[] is the array i have at the beginning of the code. But my main prob is the cout << "Failed to generate key"; part doesn't work at all. The reason for that part is if i input any numbers for e.g ABC123 to search for into the array or such, instead of leaving it blank i want to put "failed to generate" as the output" i tried if function and do and while yet none of it works and i don't know why. any help or suggestions please??
Here is the array of the code. code is too long to post all so sorry