Click here to Skip to main content
15,888,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
JokeRe: How do I convert C# code to VB.Net Pin
Paul Conrad5-Sep-08 11:32
professionalPaul Conrad5-Sep-08 11:32 
GeneralRe: How do I convert C# code to VB.Net Pin
Bassam Saoud5-Sep-08 11:59
Bassam Saoud5-Sep-08 11:59 
GeneralRe: How do I convert C# code to VB.Net Pin
Paul Conrad5-Sep-08 12:08
professionalPaul Conrad5-Sep-08 12:08 
GeneralRe: How do I convert C# code to VB.Net Pin
Bassam Saoud5-Sep-08 12:00
Bassam Saoud5-Sep-08 12:00 
GeneralRe: How do I convert C# code to VB.Net Pin
Paul Conrad5-Sep-08 12:14
professionalPaul Conrad5-Sep-08 12:14 
GeneralRe: How do I convert C# code to VB.Net Pin
Code1085-Sep-08 10:21
Code1085-Sep-08 10:21 
GeneralRe: How do I convert C# code to VB.Net Pin
Bassam Saoud5-Sep-08 11:24
Bassam Saoud5-Sep-08 11:24 
QuestionSchool Assignment Pin
Member 35263035-Sep-08 3:20
Member 35263035-Sep-08 3:20 
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.
AnswerRe: School Assignment Pin
Thomas Stockwell5-Sep-08 3:35
professionalThomas Stockwell5-Sep-08 3:35 
AnswerRe: School Assignment Pin
Steven J Jowett5-Sep-08 3:56
Steven J Jowett5-Sep-08 3:56 
GeneralRe: School Assignment Pin
Paul Conrad5-Sep-08 5:36
professionalPaul Conrad5-Sep-08 5:36 
AnswerRe: School Assignment Pin
Paul Conrad5-Sep-08 5:37
professionalPaul Conrad5-Sep-08 5:37 
RantRe: School Assignment Pin
jzonthemtn5-Sep-08 5:51
jzonthemtn5-Sep-08 5:51 
AnswerRe: School Assignment Pin
Colin Angus Mackay5-Sep-08 6:20
Colin Angus Mackay5-Sep-08 6:20 
GeneralRe: School Assignment Pin
Manas Bhardwaj5-Sep-08 10:15
professionalManas Bhardwaj5-Sep-08 10:15 
AnswerRe: School Assignment Pin
Bassam Saoud5-Sep-08 11:27
Bassam Saoud5-Sep-08 11:27 
QuestionReading specific columns from Excel Pin
Vipul Bhatt4-Sep-08 23:39
Vipul Bhatt4-Sep-08 23:39 
AnswerRe: Reading specific columns from Excel Pin
Paul Conrad5-Sep-08 5:39
professionalPaul Conrad5-Sep-08 5:39 
GeneralRe: Reading specific columns from Excel Pin
Vipul Bhatt5-Sep-08 21:02
Vipul Bhatt5-Sep-08 21:02 
AnswerRe: Reading specific columns from Excel Pin
rprateek7-Sep-08 20:17
rprateek7-Sep-08 20:17 
QuestionPhase lock loop? Pin
rapidgeo4-Sep-08 23:37
rapidgeo4-Sep-08 23:37 
JokeRe: Phase lock loop? Pin
LloydA1115-Sep-08 12:03
LloydA1115-Sep-08 12:03 
GeneralRe: Phase lock loop? Pin
rapidgeo5-Sep-08 13:21
rapidgeo5-Sep-08 13:21 
GeneralRe: Phase lock loop? Pin
LloydA1115-Sep-08 13:25
LloydA1115-Sep-08 13:25 
JokeRe: Phase lock loop? Pin
Mycroft Holmes5-Sep-08 13:35
professionalMycroft Holmes5-Sep-08 13:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.