Can you help me to create a batch or some other file to find the answers of a word scramble?

On one of the programming missions on I have to create a file to solve a word scramble, the only language I know that I could use is batch. If you can help me write this file or recomend another file type to do this job, please do!

sort by: active | newest | oldest
lemonie8 years ago
If you do a bit of searching for "word scramble solver" in conjunction with "source code" you can find things like this: (Python)
Use those words, go fishing, see what you can find.


(Batch files are not a programming language, they are a way of organising multiple commands)
wizerd 745 (author)  lemonie8 years ago
oh, and I would like to learn to write my own rather than using someone elses. I think that would kinda be cheeting. thx anyway.
If you find someone's existing code you can learn how other people have done it, then write your own. No harm in looking at things other people have written, it's what most others would do. L
wizerd 745 (author)  lemonie8 years ago
Good point.
To look at it another way: if it's been done, we should build from there; starting again from scratch is only really of any value as a learning process for yourself. And you'll probably want to see "the answers" when you're done anyway. L
wizerd 745 (author)  lemonie8 years ago
the learning process is the main reason for doing this.
Good reason - have you picked a language / script? L
wizerd 745 (author)  lemonie8 years ago
Not yet.
wizerd 745 (author)  lemonie8 years ago
thx (btw I know what batch I just didn't know if it could be use, but still thanks!!!)
PHP, C++, Visual Basic, Perl, java, javascript, etc... You have literally thousands of options as nearly any modern language can do the task. I highly recommend learning PHP as it is very easy to pick up and is increasingly more and more useful in the web-app era. It's also a good starting point to learning modern programming and it integrates with a lot of other languages and a lot of resources very well. Batch is just not going to cut it here. Batch is NOT a true programming language. Batch cannot perform advanced tasks like the challenge above easily. I won't say it CANT be done, but I will say that it will take many hundreds of lines of commands to do it whereas a good true programming language could perform the task within 50 lines of code.
wizerd 745 (author)  DELETED_GuardianFox8 years ago