Click here to Skip to main content
15,441,032 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Angle Algorithm Pin
CPallini4-Apr-07 21:05
mveCPallini4-Apr-07 21:05 
GeneralRe: Angle Algorithm Pin
cp98764-Apr-07 21:53
Membercp98764-Apr-07 21:53 
QuestionColor generation algorithm Pin
roel_v3-Apr-07 22:20
Memberroel_v3-Apr-07 22:20 
AnswerRe: Color generation algorithm Pin
Nathan Addy6-Apr-07 1:45
MemberNathan Addy6-Apr-07 1:45 
GeneralRe: Color generation algorithm Pin
roel_v7-Apr-07 6:56
Memberroel_v7-Apr-07 6:56 
QuestionReading text file problem with casting to double Pin
kelvinic3-Apr-07 18:28
Memberkelvinic3-Apr-07 18:28 
AnswerRe: Reading text file problem with casting to double Pin
cp98763-Apr-07 18:58
Membercp98763-Apr-07 18:58 
AnswerRe: Reading text file problem with casting to double Pin
cjengler4-Apr-07 2:09
Membercjengler4-Apr-07 2:09 
Replace: y = (double)(lstChars.ToString()); //error
with: y = Convert.ToDouble(lstChars.ToString());

You are attempting to perform a cast that is not implicit. You need to use the ConvertTo function to handle this type of cast. Also, if the string does not represent a double or has characters in it that would not be used to represent a double the cast will fail.
GeneralRe: Reading text file problem with casting to double Pin
kelvinic4-Apr-07 2:17
Memberkelvinic4-Apr-07 2:17 
GeneralRe: Reading text file problem with casting to double Pin
cjengler4-Apr-07 2:36
Membercjengler4-Apr-07 2:36 
QuestionPermutations of an election result Pin
Colin Angus Mackay31-Mar-07 10:32
MemberColin Angus Mackay31-Mar-07 10:32 
AnswerRe: Permutations of an election result Pin
Luc Pattyn31-Mar-07 11:05
sitebuilderLuc Pattyn31-Mar-07 11:05 
GeneralRe: Permutations of an election result Pin
Colin Angus Mackay31-Mar-07 11:27
MemberColin Angus Mackay31-Mar-07 11:27 
GeneralRe: Permutations of an election result Pin
Luc Pattyn31-Mar-07 11:47
sitebuilderLuc Pattyn31-Mar-07 11:47 
GeneralRe: Permutations of an election result Pin
Colin Angus Mackay31-Mar-07 23:03
MemberColin Angus Mackay31-Mar-07 23:03 
GeneralRe: Permutations of an election result Pin
Luc Pattyn31-Mar-07 23:33
sitebuilderLuc Pattyn31-Mar-07 23:33 
GeneralRe: Permutations of an election result Pin
Luc Pattyn31-Mar-07 12:55
sitebuilderLuc Pattyn31-Mar-07 12:55 
QuestionRe: Permutations of an election result Pin
David Crow4-Apr-07 4:11
MemberDavid Crow4-Apr-07 4:11 
Questionmatlab a function in m-file Pin
akira3231-Mar-07 2:13
Memberakira3231-Mar-07 2:13 
AnswerRe: matlab a function in m-file Pin
rbuchana31-Mar-07 9:48
Memberrbuchana31-Mar-07 9:48 
AnswerRe: matlab a function in m-file Pin
Sean Cundiff31-Mar-07 13:24
MemberSean Cundiff31-Mar-07 13:24 
Questionbandwidth question Pin
Planker29-Mar-07 19:08
MemberPlanker29-Mar-07 19:08 
AnswerRe: bandwidth question Pin
Rilhas19-May-07 10:03
MemberRilhas19-May-07 10:03 
Questiongenerate unrepeated serials Pin
samira forooghi28-Mar-07 20:05
Membersamira forooghi28-Mar-07 20:05 
AnswerRe: generate unrepeated serials Pin
Nathan Addy29-Mar-07 15:19
MemberNathan Addy29-Mar-07 15:19 

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.