I'm trying to write a program that lets you find out a given password by testing each possible combination of numbers/letters. I want to use a for loop. I want to set it out like this:
///////////////////////////////////////////////////////////////////////////////////
for ( /* what to place here*/)
{
// compare current combination with the actual one
if ( /* whatever */)
{
// do something
}
// move onto next combination by incrementing etc...(?)
}
///////////////////////////////////////////////////////////////////////////////////
As you can see, i'm not very far ahead. Can anybody please give me any ideas?