Help with complex program

This is a discussion on Help with complex program within the C++ Programming forums, part of the General Programming Boards category; I am in need of a program. I am not sure how to program such a thing, so I'll ask ...

Help with complex program

I am in need of a program. I am not sure how to program such a thing, so I'll ask for help.

1. I need to make this program calculate the total number of possible combinations of letters and/or numbers in an entered amount of digits. (example: entered 1 digit for numbers only and you get: 10. Enter two digits for numbers only and get: 100. ect.) There must be some sort of formula, but I am not sure what it is.

2. Is is possible with C++ to have this program make the mouse click at specified x,y and to have the program type in text and deleate text? If so, then how would I go about doing this? If no, then what language could accomplish this?

For one place, you have n possible combinations.
For two places, you have n choices for the first one, and then you have n choices for the second (for each choice of the first) yielding n*n = n^2 possible combinations.

Therefore, it must be 36^#of spaces I believe.
Well that parts done...

Now about the auto clicking/typing/deleating.

Ok, so what I am trying to do is:

Create a program which finds out all the possible combinations for the entered number of spaces. Then I want to make it so you can specify an x,y coordinate for the mouse to click, what it types in, and what it deleates. Once that is set up, you enter the time it takes between the click to the time of the next typing (to explain that I want it to type in something, then click at a spot, then deleate what it was typing, and then type another thing, and repeat). Then, the program clicks on the designated places, and types in all of the possible combinations (see beginning) one by one. The program should also have a pause and resume button, so you can pause it whenever you wish (possibly even save your process).

I believe that that should be doable. If you do not understand something fully, feel free to ask.

Well so long as you don't try something dumb like another recent poster ("Please help by midnight"), then there's usually plenty of time for you to try a little bit, get stuck, post a question, get an answer and move on.