Get in touch with us
Send us an e-mail
Question
In this question you will create a simple command line program which will help solve these problems.
STARTING THE PROGRAM
Your program must use command line arguments. Assuming your program has been compiled to Crossword.exe you would run with the following command line arguments.
Crossword [A|P] dictionary letters
[A|P]
This says we must either supply the letter A or the letter P as part of the command line arguments.
A We are looking for words in the dictionary that are an anagram of the letters supplied.
P We are looking for words in the dictionary that match the pattern of letters supplied.
Dictionary
In order to solve the problem you will need a dictionary of words to check your letters against, looking for possible matches. The dictionary will have one word per line of file. As part of the assignment I will supply a dictionary file called dict.txt, which contains about 64000 words to test against. It can be assumed that the dictionary only contains alphabetical letters. It contains no spaces, digits or punctuation characters.
Letters
Letters can be in two forms
1. A set of alphabetical letters. It contains no spaces, digits or other punctuation characters. The letters can be any case. This will be used with the A argument. Your program will find all words in the dictionary that are an anagram of the letters.
2. A set of alphabetical letters and underscores. It contains no spaces, digits or other punctuation characters. The letters can be any case. This will be used with the P argument. Your program will find all words in the dictionary that match the pattern of letters.
OUTPUT
The program will output all the words it finds matching the pattern/anagram plus a count of the words found.
Summary
The question belongs to Computer Science and it discusses about writing a program in .NET which is about using command line arguments in a crossword (A | P) dictionary letters.
Total Word Count 306
I was really stuck with my human structure assignments when I came across TheReliableTutor.com. To be honest, I was skeptical. Then I got an A in my cardiovascular systems assignment. That was the first work they did for me. From there it only got better. I am now thinking of doing my MSN and will definitely seek their help for that."
I was struggling with the deadlines of my assignments and increasingly felt at a loss with my Asian Legal Studies assignments. 24 hours in a day were not enough to do the research and structure the assignment essay. At TheReliableTutor the tutors understand my deadlines and I have never had them delay.
I was stuck with a strategic human resource management assignment when I first took help from HwA. The corporate strategy assignment expert was wonderful and since then I have taken assistance many more times.
All the curves used to confuse me a lot. I was not getting any direction while all of my classmates were cruising through their Monopoly, Oligopoly market equilibrium assignments. Then my friend Judith introduced me to HwA and then I felt much better after taking their economics homework help. They helped me understand and also get good marks.
The quality of the research work and the structuring of the assignment essay was almost exactly as what our professor had asked for. The assignment expert at HwA was extremely professional with maintaining the deadline and sticking to the guidelines stipulated. Overall my experience with them has been way above satisfactory and I would recommend them to all students wanting help in writing their instrumentation engineering assignment.
Comments
this is a very good website
I have 50 questions for the same test your page is showing only 28
hi can you please help or guide me to answer my assignments. thanks
hi can anyone help or guide me to my assignments. thanks
This solution is perfect ...thanks
Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes
Perfect bank of solution.
great !
thanks for the quick response. the solution looks good. :)
thnx for the answer. it was perfect. just the way i wanted it.
works fine.