|
Thanks. I've always wondered if anyone could find it on my personal site
How much longer until you are done with your MBA?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
He had a brain and thats why he thought of posting in a forum.
|
|
|
|
|
I'll give him credit for that
I guess I could have been nicer and pointed him to SharpDevelop's code converter. Though not perfect, it does pretty well.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Thank you Technette. You are smarter than anyone who did not criticize and helped honestly. Rewards are waiting for you. Thanks again.
|
|
|
|
|
Its becomming a common thing here
|
|
|
|
|
You need to write, in pseudo code (or a computer language you are hapy with), a procedure that takes four parameters as follows:
DictionaryFile - the file name of a text file containing four letter words
StartWord - a four letter word (that you can assume is found in the DictionaryFile file)
EndWord - a four letter word (that you can assume is found in the DictionaryFile file)
ResultFile - the file name of a text file that will contain the result
The result is the shortest list of four letter words, starting with StartWord, and ending with EndWord, with a number of intermediate words that are to be found in the DictionaryFile file where each word differs from the previous word by precisely one letter.
For example, if StartWord = Spin, EndWord = Spot and DictionaryFile file contains
Spin
Spit
Spat
Spot
Span
then ResultFile should contain
Spin
Spit
Spot
Two examples of incorrect results:
Spin, Span, Spat, Spot (invalid as it takes 3 changes rather than 2)
Spin, Spon, Spot (invalid as spon is not a word)
Hint: Your solution should deal with the case where the dictionary file contains {AAAA,ABAA, ABZA, ABZZ, AAZZ} and the start and end word are AAAA and AAZZ respectively.
|
|
|
|
|
If this is a school assignment, then no one at the codeproject will want to help you. If you have solved the problem or are having problems with the problem than you can post it here, but no one will write the entire application for you.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
I've left school, so I do not need to do school assignments. But thank you anyway.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Steven J Jowett wrote: left school, so I do not need to do school assignments. But thank you anyway.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Geeze, do your own assignment
If you are stumped with a particular piece of code in your assignment, people may give you insight, not the solution to your assignment.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
This exact same crap has been posted before.
|
|
|
|
|
The idea of schools handing out assignments is to either as an excercise to help you learn, or for you to demonstrate what you know.
If we do this for you you will not learn, and it will only show what we know.
If you want help with this, then try and create a solution of your own first. If you get stuck then you can come to us for help. You MUST demonstrate that you have at least tried.
|
|
|
|
|
Colin Angus Mackay wrote: If you get stuck then you can come to us for help
Well, even he stucks somewhere than he should go to his teaher/instructor. A teacher would be anyday more than happy to help his student/
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Try to do your homework, when you are stuck , post your question and you would get help.
|
|
|
|
|
Dear All
Normally the query used to read Excel file is "SELECT * FROM SHEET1$"
Can anoyone help on how can we read specific columns using the query.
For Eg. If we wan to read only columns C, D, and F then is there anything like "SELECT C, D, F FROM SHEET1$"
Regards.
|
|
|
|
|
Has the thought occurred to you to go and look on MSDN? Have you tried:
Vipul Bhatt wrote: SELECT C, D, F FROM SHEET1$
and what was the result?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Getting an error "No value given for one or more required parameters." if any of the following queries are used.
> SELECT C, D, F FROM SHEET1$
> SELECT COLUMN3, COLUMN4 FROM SHEET1$
And yes tried searching MSDN as well. The process is still on.
Regards.
|
|
|
|
|
|
Has anyone got any code for phase lock loops?
Cheers
Baz
|
|
|
|
|
Sounds like something off star trek to me
Lloyd J. Atkinson
"Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein
I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".
|
|
|
|
|
haha - not quite.
usually called PLL and can be performed with circuitry but i wanted to do PLL in a program.
to quote wikepedia:
"A phase-locked loop or phase lock loop (PLL) is a control system that generates a signal that has a fixed relation to the phase of a "reference" signal. A phase-locked loop circuit responds to both the frequency and the phase of the input signals, automatically raising or lowering the frequency of a controlled oscillator until it is matched to the reference in both frequency and phase. A phase-locked loop is an example of a control system using negative feedback.
In simpler terms, a PLL compares the frequencies of two signals and produces an error signal which is proportional to the difference between the input frequencies. The error signal is used to drive a voltage-controlled oscillator (VCO) which creates an output frequency. The output frequency is fed through a frequency divider back to the input of the system, producing a negative feedback loop. If the output frequency drifts, the error signal will increase, driving the frequency in the opposite direction so as to reduce the error. Thus the output is locked to the frequency at the other input. This input is called the reference and is derived from a crystal oscillator, which is very stable in frequency.
|
|
|
|
|
Oh I see, not entirely sure what its function is actually for, but get the vague idea. Im not really sure, bit beyond me that code, unless it can be done fairly simply? Im not really sure
Lloyd J. Atkinson
"Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein
I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".
|
|
|
|
|
Nope, still sounds like something from Star Trek.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Lloyd J. Atkinson
"Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein
I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".
|
|
|
|
|
Mycroft Holmes wrote: still sounds like something from Star Trek
I ditto that. Maybe the OP ought to ask Scottie
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|