Tell me whats wrong with my code plz?

Apr 9, 2014 at 4:54am
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


Someone help tell me whats wgong?
Last edited on Apr 12, 2014 at 4:57pm
Apr 9, 2014 at 6:02pm
help please??
Apr 9, 2014 at 6:05pm
Help yourself by posting a more complete program. How is anyone supposed to know what could be wrong while staring at an incomplete block of code?
Apr 12, 2014 at 11:17am
Here is the full code then:


[code]#include <iostream>
Last edited on Apr 12, 2014 at 4:38pm
Apr 12, 2014 at 12:03pm
now can someone help me?
Topic archived. No new replies allowed.