Basically this program imitates the stereo-typicle visual output of a password cracker but i need help with something.
This program could be used for a game or such, but for now i just want to get the letter cycling working properly and it's running through a console but i'm having a little trouble.
I added a console pause at the end so i could see what happened on out put and the 1st loop it cycles through all letters+symbols, 2nd loop it adds SP ' ' to the front which i expect and then cycles through all letters on right hand side, but on the 3rd loop the SP ' ' DOES NOT change to the '!' like i expect.
I'm not sure why this is happening and i've deliberately made most my variables global because earlier i had problems due to the scope.
Does anybody know what the problem is with my program and possibly a Simple way that this may be fixed please? I'm hoping that i may have just made a simple syntax error or such that i've not noticed.
Consider writing the program with small, easy to understand, functions.
For example, this will generate by brute force all possible permutations of all possible printable characters. Start with something simple like this, and then add intelligence, bit by bit, to make the password cracker.
I may have forgotten to mention I consider myself as quite a newbie but i'll do some research and try your suggestion out later. By research i mean i'll have to go over some of the statements and functions such as the .insert() i'm not familiar with and such.
It would be helpful if you could post links to where i may be able to find the appropriate information to help me understand some of the statement but if you can't the no worries!