Open the file in Code::Blocks, or create a new console project in Visual Studio C++.
You have to enter the minimal number of letters in first, then the second. After that, enter a sample password and wait the program find it.
You can easily use the code to program a better version.