posted 13 years ago
The previous problem , i had with the brute force was solved.Here is the code:
Now I want the program not search all the charList[] but only the selection I want between the numbers,lower letters,upper letters and all of them.I want the user to write a,A,1 and one of this selection to represent the equivalent table.I think that I need 4 more tables.One with the lower letters , one with uperr letters , one with the digits and one more.In last table they will be placed the selection from user.
And my other opinion is to use only one more table to place the selection from user.But I don't know how to get the selection from user and fill in the table. e.g If the user write a,1 then , the second table must fill with lower letters and numbers.So the brute force will be run only for the selections and not all the table.
So the program will be much faster and not search all the table without reason.